Skip to content

Commit

Permalink
Specify the default length in the nanoidgen documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lukateras committed Jan 3, 2025
1 parent 39c8056 commit 66fd948
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ See the PDF manual at <https://lukateras.github.io/nanoid.h/man.pdf>.
$ nanoidgen [length]
```

Generates a Nano ID of the default length, or the specified length within 1 and
`GETENTROPY_MAX` (256), and prints it to the standard output.
Generates a Nano ID of the default length (21), or the specified length within
1 and `GETENTROPY_MAX` (256), and prints it to the standard output.

[`getentropy(3)`]: https://pubs.opengroup.org/onlinepubs/9799919799/functions/getentropy.html
[`nanoid(3)`]: https://lukateras.github.io/nanoid.h/man/nanoid.3.html
Expand Down
2 changes: 1 addition & 1 deletion nanoidgen.1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
.Op length
.Sh DESCRIPTION
.Nm
generates a Nano ID of the default length, or the specified length within 1 and
generates a Nano ID of the default length (21), or the specified length within 1 and
.Dv GETENTROPY_MAX
(256), and prints it to the standard output.
.Sh EXIT STATUS
Expand Down

0 comments on commit 66fd948

Please sign in to comment.