diff --git a/pw.1 b/pw.1 index 75497dc..1dbcaf4 100644 --- a/pw.1 +++ b/pw.1 @@ -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.