Added missing-date as config and argument alias.

This commit is contained in:
DebaucheryLibrarian
2020-10-20 00:05:23 +02:00
parent 4a900cbbeb
commit 2f8fca0327
3 changed files with 5 additions and 5 deletions

View File

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