git: 615b3385c990 - stable/13 - top: Sort flags in usage message
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Nov 2021 16:03:50 UTC
The branch stable/13 has been updated by 0mp (doc, ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=615b3385c9906a2f476ff3962639c41b1c61b321
commit 615b3385c9906a2f476ff3962639c41b1c61b321
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:03:37 +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 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]");
}
}