git: 82d0f865ee9a - main - top: Sort flags in usage message
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 18 Nov 2021 14:57:22 UTC
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]");
}
}