Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 2021 14:57:22 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 82d0f865ee9a - main - top: Sort flags in usage message
Message-ID:  <202111181457.1AIEvMT5039333@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=82d0f865ee9a93213876c14342b147e31b7ade0d

commit 82d0f865ee9a93213876c14342b147e31b7ade0d
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2021-11-18 13:21:34 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2021-11-18 14:56:47 +0000

    top: Sort flags in usage message
    
    While here, fix the indentation of the second line in the message.
    
    MFC after:      3 days
---
 usr.bin/top/top.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr.bin/top/top.c b/usr.bin/top/top.c
index 08248911e99a..68b7bdf1dfb5 100644
--- a/usr.bin/top/top.c
+++ b/usr.bin/top/top.c
@@ -465,8 +465,8 @@ main(int argc, const char *argv[])
 
 	      default:
 		errx(1, 
-"[-abCHIijnPqStuvwz] [-d count] [-m io | cpu] [-o field] [-p pid]\n"
-"       [-s time] [-J jail] [-U username] [number]");
+"[-abCHIijnPqStuvwz] [-d count] [-J jail] [-m cpu | io] [-o field]\n"
+"     [-p pid] [-s time] [-U username] [number]");
 	    }
 	}
 



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