X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/checkpath/blobdiff_plain/fbe14754f1019110742e18b107d4bff5d2598603..3230bee80a97e186f44eaf40b1403091ab76dbaa:/chkpath.1 diff --git a/chkpath.1 b/chkpath.1 index a4fbd2d..fe4c968 100644 --- 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