fix: use consistent option names in source
This commit is contained in:
parent
1f1faf8b1b
commit
c09d135fed
12
src/index.ts
12
src/index.ts
|
@ -60,12 +60,12 @@ const MAIN_ARGS = usage(`Usage: $0 <mode> [options]`)
|
|||
default: '-',
|
||||
type: 'string',
|
||||
})
|
||||
.option('excludeLevel', RULE_OPTION)
|
||||
.option('excludeName', RULE_OPTION)
|
||||
.option('excludeTag', RULE_OPTION)
|
||||
.option('includeLevel', RULE_OPTION)
|
||||
.option('includeName', RULE_OPTION)
|
||||
.option('includeTag', {
|
||||
.option('exclude-level', RULE_OPTION)
|
||||
.option('exclude-name', RULE_OPTION)
|
||||
.option('exclude-tag', RULE_OPTION)
|
||||
.option('include-level', RULE_OPTION)
|
||||
.option('include-name', RULE_OPTION)
|
||||
.option('include-tag', {
|
||||
...RULE_OPTION,
|
||||
alias: ['t', 'tag'],
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue