Update epg-grabber.js
This commit is contained in:
		
							parent
							
								
									baebde2c45
								
							
						
					
					
						commit
						977f4c75e4
					
				| 
						 | 
					@ -13,11 +13,11 @@ program
 | 
				
			||||||
  .version(version, '-v, --version')
 | 
					  .version(version, '-v, --version')
 | 
				
			||||||
  .description(description)
 | 
					  .description(description)
 | 
				
			||||||
  .requiredOption('-c, --config <config>', 'Path to [site].config.js file')
 | 
					  .requiredOption('-c, --config <config>', 'Path to [site].config.js file')
 | 
				
			||||||
  .option('-o, --output <output>', 'Path to output file', 'guide.xml')
 | 
					  .option('-o, --output <output>', 'Path to output file')
 | 
				
			||||||
  .option('--channels <channels>', 'Path to channels.xml file')
 | 
					  .option('--channels <channels>', 'Path to channels.xml file')
 | 
				
			||||||
  .option('--lang <lang>', 'Set default language for all programs', 'en')
 | 
					  .option('--lang <lang>', 'Set default language for all programs')
 | 
				
			||||||
  .option('--days <days>', 'Number of days for which to grab the program', parseInteger, 1)
 | 
					  .option('--days <days>', 'Number of days for which to grab the program', parseInteger)
 | 
				
			||||||
  .option('--delay <delay>', 'Delay between requests (in mileseconds)', parseInteger, 3000)
 | 
					  .option('--delay <delay>', 'Delay between requests (in mileseconds)', parseInteger)
 | 
				
			||||||
  .option('--debug', 'Enable debug mode', false)
 | 
					  .option('--debug', 'Enable debug mode', false)
 | 
				
			||||||
  .parse(process.argv)
 | 
					  .parse(process.argv)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue