aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2021-11-18 14:31:48 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2021-11-24 16:10:10 +0000
commit4614bc803462366cb64b4a0609989fa2e3205b28 (patch)
tree337ff3281a591d62c7578de2d1326c2517f98ebb
parent14454e662a6b3fd6e4b4cf2261132efd6dd231d3 (diff)
downloadsrc-4614bc803462366cb64b4a0609989fa2e3205b28.tar.gz
src-4614bc803462366cb64b4a0609989fa2e3205b28.zip
top.1: Improve description of -m
Describe -m argument as "mode" instead of "display". MFC after: 3 days (cherry picked from commit c947fc5fae31c5935a57abcaa76f40fc8950ce59)
-rw-r--r--usr.bin/top/top.114
1 files changed, 10 insertions, 4 deletions
diff --git a/usr.bin/top/top.1 b/usr.bin/top/top.1
index 1f0be330ddc8..deda87a973f0 100644
--- a/usr.bin/top/top.1
+++ b/usr.bin/top/top.1
@@ -10,7 +10,7 @@
.Op Fl abCHIijnPpqSTtuvxz
.Op Fl d Ar count
.Op Fl J Ar jail
-.Op Fl m Ar cpu|io
+.Op Fl m Ar mode
.Op Fl o Ar field
.Op Fl p Ar pid
.Op Fl s Ar time
@@ -116,9 +116,15 @@ Using this option implies
Display the
.Xr jail 8
ID.
-.It Fl m Ar display
-Display either 'cpu' or 'io' statistics.
-Default is 'cpu'.
+.It Fl m Ar mode
+Display statistics in the specified
+.Ar mode .
+Available modes are
+.Cm cpu
+and
+.Cm io .
+Default is
+.Cm cpu .
.It Fl n
Use \*(lqnon-interactive\*(rq mode.
This is identical to \*(lqbatch\*(rq