summaryrefslogtreecommitdiffstats
path: root/contrib/top
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-04-18 15:26:58 +0000
committerru <ru@FreeBSD.org>2006-04-18 15:26:58 +0000
commitcb88fa831f0e20f951e328ed4ddceba21a12f329 (patch)
tree7b16ba093a991a49963d5933d4362516bd0ef55c /contrib/top
parent5fc54bd044c29449225a23afe1c734b805f81388 (diff)
downloadFreeBSD-src-cb88fa831f0e20f951e328ed4ddceba21a12f329.zip
FreeBSD-src-cb88fa831f0e20f951e328ed4ddceba21a12f329.tar.gz
Bring SYNOPSIS in line with usage().
Diffstat (limited to 'contrib/top')
-rw-r--r--contrib/top/top.X8
-rw-r--r--contrib/top/top.c7
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);
}
OpenPOWER on IntegriCloud