git: 6d20d6e5d887 - stable/12 - top: Sort flags in usage message
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Nov 2021 16:04:45 UTC
The branch stable/12 has been updated by 0mp (doc, ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=6d20d6e5d887221d8b5cfd6322995560add6b999
commit 6d20d6e5d887221d8b5cfd6322995560add6b999
Author: Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2021-11-18 13:21:34 +0000
Commit: Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2021-11-24 16:04:15 +0000
top: Sort flags in usage message
While here, fix the indentation of the second line in the message.
MFC after: 3 days
(cherry picked from commit 82d0f865ee9a93213876c14342b147e31b7ade0d)
---
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 4b624aacb6b0..50e199ba71d0 100644
--- a/usr.bin/top/top.c
+++ b/usr.bin/top/top.c
@@ -459,8 +459,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]");
}
}