Skip to content

Commit

Permalink
fix: CLI help examples (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lete114 authored May 3, 2022
1 parent 89d994c commit 85991e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/nanoid.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ if (process.argv.includes('--help') || process.argv.includes('-h')) {
-h, --help Show this help
Examples
$ nano --s 15
$ nanoid --s 15
S9sBF77U6sDB8Yg
$ nano --size 10 --alphabet abc
$ nanoid --size 10 --alphabet abc
bcabababca`)
process.exit()
}
Expand Down

0 comments on commit 85991e3

Please sign in to comment.