Renamed null-date-limit to no-date-limit, added old as alias.

This commit is contained in:
DebaucheryLibrarian 2020-10-20 00:01:29 +02:00
parent ce78e07444
commit 5bdbb5ec62
1 changed files with 2 additions and 2 deletions

View File

@ -142,11 +142,11 @@ const { argv } = yargs
describe: 'Get the latest x releases, no matter the date range', describe: 'Get the latest x releases, no matter the date range',
type: 'number', type: 'number',
}) })
.option('null-date-limit', { .option('no-date-limit', {
describe: 'Limit amount of scenes when dates are missing.', describe: 'Limit amount of scenes when dates are missing.',
type: 'number', type: 'number',
default: config.nullDateLimit, default: config.nullDateLimit,
alias: 'limit', alias: ['null-date-limit', 'limit'],
}) })
.option('page', { .option('page', {
describe: 'Page to start scraping at', describe: 'Page to start scraping at',