Skip to content

Commit

Permalink
fix(cli): change -V —> -v
Browse files Browse the repository at this point in the history
  • Loading branch information
aarondill committed Jan 22, 2023
1 parent 604a14f commit b0581a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function parseCliArguments() {
options: {
check: { type: 'boolean', short: 'c' },
quiet: { type: 'boolean', short: 'q' },
version: { type: 'boolean', short: 'V' },
version: { type: 'boolean', short: 'v' },
help: { type: 'boolean', short: 'h' },
},
allowPositionals: true,
Expand All @@ -40,7 +40,7 @@ Strings passed as files are parsed as globs.
-c, --check check if FILES are sorted
-q, --quiet don't output success messages
-h, --help display this help and exit
-V, --version display the version and exit
-v, --version display the version and exit
`,
)
process.exit(0)
Expand Down

0 comments on commit b0581a6

Please sign in to comment.