Skip to content

Commit

Permalink
refactor: use -V flag for verbose output
Browse files Browse the repository at this point in the history
  • Loading branch information
JanMalch committed Oct 27, 2020
1 parent 967bd35 commit fb1de75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ program
.option('-F, --no-fail', 'Do not fail when zip would be empty', false)
.option('-E, --no-empty', 'Do not include empty directories', false)
.option('-d, --dry-run', 'Do not write or delete any files', false)
.option('-v, --verbose', 'Use verbose output', false)
.version(pkg.version)
.option('-V, --verbose', 'Use verbose output', false)
.version(pkg.version, '-v, --version')
.action((outFile, globPatterns) => {
output = path.resolve(outFile);
for (const globPattern of globPatterns) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"test": "exit 0",
"prettier": "prettier --write *.js",
"start": "node cli out.zip *.js -vdw",
"start": "node cli out.zip *.js -Vdw",
"start:help": "node cli --help"
},
"bin": {
Expand Down

0 comments on commit fb1de75

Please sign in to comment.