chiark / gitweb /
chkpath.c, tmpdir.c, chpath.1, tmpdir.1: Sort lists of options.
[checkpath] / chkpath.1
index a4fbd2dced0e6907693f52b2296a2e4e5b23a214..fe4c96892362c57fe372fc03319d20371babda30 100644 (file)
--- a/chkpath.1
+++ b/chkpath.1
@@ -4,7 +4,7 @@
 chkpath \- check a path string for security
 .SH SYNOPSIS
 .B chkpath
-.RB [ \-vqstp ]
+.RB [ \-pqstv ]
 .RB [ \-g
 .IR group ]
 .RI [ path ...]
@@ -56,14 +56,6 @@ version number.
 .B "\-u, \-\-usage"
 Displays a very terse usage summary.
 .TP
-.B "\-v, \-\-verbose"
-Makes
-.B chkpath
-more verbose about what it's doing.  This option has a cumulative
-effect, so put more in for more verbosity.  Note that verbose doesn't
-mean the same as interesting.  The default is to report problems with
-directories and system errors.
-.TP
 .BI "\-g, \-\-group " group
 Consider members of
 .I group
@@ -77,6 +69,21 @@ may be a group name (looked up in
 .BR /etc/group )
 or a numeric gid in decimal.
 .TP
+.B "\-p, \-\-print"
+Writes on standard output a colon-separated list of the directories
+which
+.B chkpath
+considered `safe'.  This can be used to filter out unsafe directories in
+an automatic way:
+.RS 10
+.nf
+.ft B
+.sp 1
+PATH=`chkpath -qqp`
+.ft R
+.fi
+.RE
+.TP
 .B "\-q, \-\-quiet"
 Makes
 .B chkpath
@@ -106,20 +113,13 @@ of.  In other words, it trusts your fellow group-members
 .B chkpath
 will still warn about directories owned by people in your groups.
 .TP
-.B "\-p, \-\-print"
-Writes on standard output a colon-separated list of the directories
-which
+.B "\-v, \-\-verbose"
+Makes
 .B chkpath
-considered `safe'.  This can be used to filter out unsafe directories in
-an automatic way:
-.RS 10
-.nf
-.ft B
-.sp 1
-PATH=`chkpath -qqp`
-.ft R
-.fi
-.RE
+more verbose about what it's doing.  This option has a cumulative
+effect, so put more in for more verbosity.  Note that verbose doesn't
+mean the same as interesting.  The default is to report problems with
+directories and system errors.
 .SH BUGS
 None known.
 .SH SEE ALSO