Skip to content

Commit 85525b7

Browse files
authored
Make verboseLevel 3 by default
The documentation for the `verboseLevel` CLI flag indicates that it is `3` by default, but no default is provider to Commander. I think this results in the value being null/undefined and being interpreted as `0`.
1 parent ece4389 commit 85525b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import utils = require('./lib/utils');
3737
'(optional) Destroy added environment on closing. Defaults to false')
3838
.option('-v, --verboselevel <3/2/1/0>',
3939
'(optional) Default 3. Level 2 dismiss handler() text, level 1 dismiss lambda-local text ' +
40-
'and level 0 dismiss also the result.')
40+
'and level 0 dismiss also the result.', 3)
4141
.option('--envfile <path/to/env/file>',
4242
'(optional) Load additional environment variables from a file')
4343
.option('--inspect [[host:]port]',

0 commit comments

Comments
 (0)