Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 2021 16:11:24 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 4614bc803462 - stable/12 - top.1: Improve description of -m
Message-ID:  <202111241611.1AOGBOVB001987@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by 0mp (doc, ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=4614bc803462366cb64b4a0609989fa2e3205b28

commit 4614bc803462366cb64b4a0609989fa2e3205b28
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2021-11-18 14:31:48 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2021-11-24 16:10:10 +0000

    top.1: Improve description of -m
    
    Describe -m argument as "mode" instead of "display".
    
    MFC after:      3 days
    
    (cherry picked from commit c947fc5fae31c5935a57abcaa76f40fc8950ce59)
---
 usr.bin/top/top.1 | 14 ++++++++++----
 1 file 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111241611.1AOGBOVB001987>