Added byte truncate script to repo. Fixed yargs not enforcing choices.
This commit is contained in:
+2
-2
@@ -59,11 +59,11 @@ function getArgs() {
|
||||
})
|
||||
.option('after-indexed', {
|
||||
describe: 'Only include posts after the oldest or the latest entry in the index',
|
||||
options: ['oldest', 'latest'],
|
||||
choices: ['oldest', 'latest'],
|
||||
})
|
||||
.option('before-indexed', {
|
||||
describe: 'Only include posts before the oldest or the latest entry in the index',
|
||||
options: ['oldest', 'latest'],
|
||||
choices: ['oldest', 'latest'],
|
||||
})
|
||||
.option('redownload', {
|
||||
describe: 'Ignore index file and force a redownload of everything in the selection. Does not affect [before|after]-indexed',
|
||||
|
||||
Reference in New Issue
Block a user