Update epg-grabber.js

This commit is contained in:
Aleksandr Statciuk 2021-10-06 03:52:34 +03:00
parent baebde2c45
commit 977f4c75e4
1 changed files with 4 additions and 4 deletions

View File

@ -13,11 +13,11 @@ program
.version(version, '-v, --version')
.description(description)
.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('--lang <lang>', 'Set default language for all programs', 'en')
.option('--days <days>', 'Number of days for which to grab the program', parseInteger, 1)
.option('--delay <delay>', 'Delay between requests (in mileseconds)', parseInteger, 3000)
.option('--lang <lang>', 'Set default language for all programs')
.option('--days <days>', 'Number of days for which to grab the program', parseInteger)
.option('--delay <delay>', 'Delay between requests (in mileseconds)', parseInteger)
.option('--debug', 'Enable debug mode', false)
.parse(process.argv)