Man page and usage updates. [rsc] --rw-rw-r-- M 222375 glenda sys 735 Jan 4 07:37 sys/man/1/freq /n/sourcesdump/2006/0104/plan9/sys/man/1/freq:4,10 - /n/sourcesdump/2006/0105/plan9/sys/man/1/freq:4,10 .SH SYNOPSIS .B freq [ - .B -dxocr + .B -cdorx ] [ .I file ... [rsc] --rw-rw-r-- M 222375 glenda sys 2257 Jan 4 07:37 sys/man/1/grep /n/sourcesdump/2006/0104/plan9/sys/man/1/grep:4,12 - /n/sourcesdump/2006/0105/plan9/sys/man/1/grep:4,18 .SH SYNOPSIS .B grep [ - .I option ... + .B -bchiLlnsv ] + [ + .B -e .I pattern + [ + .B -f + .I patternfile + ] [ .I file ... ] [rsc] --rw-rw-r-- M 222375 presotto sys 4361 Jan 4 07:37 sys/man/1/gview /n/sourcesdump/2006/0104/plan9/sys/man/1/gview:4,17 - /n/sourcesdump/2006/0105/plan9/sys/man/1/gview:4,14 .SH SYNOPSIS .B gview [ - .B -l - .I logfile + .B -mp ] [ - .B -m - ] - [ - .B -p + .B -l + .I logfile ] [ .I files [rsc] --rw-rw-r-- M 222375 glenda sys 2357 Jan 4 07:37 sys/man/1/hoc /n/sourcesdump/2006/0104/plan9/sys/man/1/hoc:4,14 - /n/sourcesdump/2006/0105/plan9/sys/man/1/hoc:4,14 .SH SYNOPSIS .B hoc [ - .I file ... - ] - [ .B -e .I expression + ] + [ + .I file ... ] .SH DESCRIPTION .I Hoc [rsc] --rw-rw-r-- M 222375 glenda sys 6098 Jan 4 07:37 sys/src/cmd/history.c /n/sourcesdump/2006/0104/plan9/sys/src/cmd/history.c:12,17 - /n/sourcesdump/2006/0105/plan9/sys/src/cmd/history.c:12,18 int diffb; char* sflag; + void usage(void); void ysearch(char*, char*); long starttime(char*); void lastbefore(ulong, char*, char*, char*); /n/sourcesdump/2006/0104/plan9/sys/src/cmd/history.c:26,32 - /n/sourcesdump/2006/0105/plan9/sys/src/cmd/history.c:27,33 ndump = nil; ARGBEGIN { default: - goto usage; + usage(); case 'v': verb = 1; break; /n/sourcesdump/2006/0104/plan9/sys/src/cmd/history.c:50,64 - /n/sourcesdump/2006/0105/plan9/sys/src/cmd/history.c:51,69 break; } ARGEND - if(argc == 0) { - usage: - fprint(2, "usage: history [-bDfuv] [-d 9fsname] [-s yyyymmdd] files\n"); - exits(0); - } + if(argc == 0) + usage(); for(i=0; i