diff options
author | ru <ru@FreeBSD.org> | 2006-04-18 15:26:58 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2006-04-18 15:26:58 +0000 |
commit | cb88fa831f0e20f951e328ed4ddceba21a12f329 (patch) | |
tree | 7b16ba093a991a49963d5933d4362516bd0ef55c | |
parent | 5fc54bd044c29449225a23afe1c734b805f81388 (diff) | |
download | FreeBSD-src-cb88fa831f0e20f951e328ed4ddceba21a12f329.zip FreeBSD-src-cb88fa831f0e20f951e328ed4ddceba21a12f329.tar.gz |
Bring SYNOPSIS in line with usage().
-rw-r--r-- | contrib/top/top.X | 8 | ||||
-rw-r--r-- | contrib/top/top.c | 7 |
2 files changed, 8 insertions, 7 deletions
diff --git a/contrib/top/top.X b/contrib/top/top.X index 4a9646a..be9a615 100644 --- a/contrib/top/top.X +++ b/contrib/top/top.X @@ -10,17 +10,17 @@ top \- display and update information about the top cpu processes .SH SYNOPSIS .B top [ -.B \-SbiInqutv +.B \-bHIinqStuv ] [ .BI \-d count ] [ -.BI \-s time +.BI \-m io | cpu ] [ .BI \-o field ] [ -.BI \-U username +.BI \-s time ] [ -.BI \-m io | cpu +.BI \-U username ] [ .I number ] diff --git a/contrib/top/top.c b/contrib/top/top.c index 00acd85..890499e 100644 --- a/contrib/top/top.c +++ b/contrib/top/top.c @@ -395,9 +395,10 @@ char *argv[]; break; default: - fprintf(stderr, "\ -Top version %s\n\ -Usage: %s [-CHISbinqut] [-d x] [-s x] [-o field] [-U username] [number]\n", + fprintf(stderr, +"Top version %s\n" +"Usage: %s [-bHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time]\n" +" [-U username] [number]\n", version_string(), myname); exit(1); } |