diff options
author | rsc <devnull@localhost> | 2005-01-14 19:03:18 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-01-14 19:03:18 +0000 |
commit | aae5c0bc63ab42eae180f6a013ddf378d76a82a1 (patch) | |
tree | dc529beab9155cb778400d91a4eaf8e30affc3c9 | |
parent | 2e0480d28ef09a758500a08032f1e1f3c09cc2f6 (diff) | |
download | plan9port-aae5c0bc63ab42eae180f6a013ddf378d76a82a1.tar.gz plan9port-aae5c0bc63ab42eae180f6a013ddf378d76a82a1.tar.bz2 plan9port-aae5c0bc63ab42eae180f6a013ddf378d76a82a1.zip |
document man
-rwxr-xr-x | bin/man | 2 | ||||
-rw-r--r-- | man/man1/man.1 | 21 |
2 files changed, 17 insertions, 6 deletions
@@ -73,7 +73,7 @@ S=$PLAN9/man d=0 while(~ $d 0) { if(~ $#* 0) { - echo 'Usage: man [-ntp] [-s sec] [0-9] [0-9] ... name1 name2 ...' >[1=2] + echo 'Usage: man [-hnpPtw] [-s sec] [0-9] [0-9] ... [--] name1 name2 ...' >[1=2] exit } if(test -d $S/man$1){ diff --git a/man/man1/man.1 b/man/man1/man.1 index f2ecb7d3..00b1668c 100644 --- a/man/man1/man.1 +++ b/man/man1/man.1 @@ -4,11 +4,14 @@ man, lookman, sig \- print or find pages of this manual .SH SYNOPSIS .B man [ -.I option ... +.B -hnpPtw ] [ .I section ... ] +[ +.B -- +] .I title ... .PP .B lookman @@ -40,6 +43,15 @@ section at the top of the page will serve as a .PP The options are: .TP +.B -h +Print the pages to HTML and send to a web browser with +.IR web (1). +.TP +.B -n +(Default) +Print the pages on the standard output using +.IR nroff . +.TP .B -p Run .IR proof (1) @@ -56,10 +68,9 @@ Run and send its output to standard output. .TP -.B -n -(Default) -Print the pages on the standard output using -.IR nroff . +.B -w +Print the file names for the pages. +.PD .PP .B Lookman prints the names of all manual sections that contain |