git: 745ffe0ee867 - stable/13 - top.1: Improve description of -m

From: Mateusz Piotrowski <>
Date: Wed, 24 Nov 2021 16:11:23 UTC
The branch stable/13 has been updated by 0mp (doc, ports committer):


commit 745ffe0ee86751541867e90af262ac355d061827
Author:     Mateusz Piotrowski <>
AuthorDate: 2021-11-18 14:31:48 +0000
Commit:     Mateusz Piotrowski <>
CommitDate: 2021-11-24 16:10:04 +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 5989831fe8a9..892ee8307e27 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
@@ -119,9 +119,15 @@ Using this option implies
 Display the
 .Xr jail 8
-.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
+.Cm io .
+Default is
+.Cm cpu .
 .It Fl n
 Use \*(lqnon-interactive\*(rq mode.
 This is identical to \*(lqbatch\*(rq