Fixed man page

This commit is contained in:
Bob Polis 2021-11-07 17:49:09 +01:00
parent 7c718b7d96
commit 145f7ef493

23
pw.1
View File

@ -3,7 +3,7 @@
.Os
.Sh NAME
.Nm pw
.Nd one line about what it does
.Nd Password generator
.\" .Sh LIBRARY
.\" For sections 2, 3, and 9 only.
.\" Not used in OpenBSD.
@ -11,21 +11,32 @@
.Nm
.Fl h | v
.Nm
.Op Ar
.Fl Op d
.Fl Op l
.Fl Op u
.Fl Op s
.Sh DESCRIPTION
The
.Nm
utility processes files ...
When no file arguments are given,
command generates a random password and prints it on the standard output.
If no flags for specifying which characters are allowed are given,
.Nm
will read from the standard input.
acts as if all had been specified.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl h, \-help
Print help text and exit.
.It Fl v, \-version
.It Fl \-version
Print version info and exit.
.It Fl d, \-digit
Allow digits.
.It Fl l, \-lower
Allow lower case letters.
.It Fl u, \-upper
Allow upper case letters.
.It Fl s, \-symbol
Allow symbols and punctuation form the following list: _-=+<>,.!@#$%^&*.
.El
.\" .Sh CONTEXT
.\" For section 9 functions only.