Skip to content

Commit 210614d

Browse files
committed
feat: apply boolean-negation setting to all commands
1 parent 9efeca5 commit 210614d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/cli/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ cacheLatestVersion();
4242
yargs(hideBin(process.argv))
4343
.version('version', 'Show version number.', version)
4444
.help('help', 'Show help.')
45-
.parserConfiguration({ 'greedy-arrays': false })
45+
.parserConfiguration({ 'greedy-arrays': false, 'boolean-negation': false })
4646
.command(
4747
'stats [api]',
4848
'Show statistics for an API description.',
@@ -684,7 +684,6 @@ yargs(hideBin(process.argv))
684684
(yargs) => {
685685
return yargs
686686
.env('REDOCLY_CLI_RESPECT')
687-
.parserConfiguration({ 'boolean-negation': false })
688687
.positional('files', {
689688
describe: 'Test files or glob pattern.',
690689
type: 'string',

0 commit comments

Comments
 (0)