From c30f394e2a175617cf5ed91d09fd8c6832c7959a Mon Sep 17 00:00:00 2001 From: Sebastien GODARD Date: Sun, 29 Sep 2013 15:21:22 +0200 Subject: [PATCH] Rearrange options displayed by sar -h Rearrange options displayed by sar in its short help message (sar -h): The upper case option should be displayed before its lower case counterpart to be consistent with options order displayed by sar usage message or displayed in sar manual page. Signed-off-by: Sebastien GODARD --- sar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sar.c b/sar.c index b03b486..343eebb 100644 --- a/sar.c +++ b/sar.c @@ -129,8 +129,8 @@ void display_help(char *progname) { print_usage_title(stdout, progname); printf(_("Main options and reports:\n")); - printf(_("\t-b\tI/O and transfer rate statistics\n")); printf(_("\t-B\tPaging statistics\n")); + printf(_("\t-b\tI/O and transfer rate statistics\n")); printf(_("\t-d\tBlock devices statistics\n")); printf(_("\t-F\tFilesystems statistics\n")); printf(_("\t-H\tHugepages utilization statistics\n")); @@ -167,14 +167,14 @@ void display_help(char *progname) "\t\tEICMP6\tICMP traffic\t(v6) (errors)\n" "\t\tUDP6\tUDP traffic\t(v6)\n")); printf(_("\t-q\tQueue length and load average statistics\n")); - printf(_("\t-r\tMemory utilization statistics\n")); printf(_("\t-R\tMemory statistics\n")); + printf(_("\t-r\tMemory utilization statistics\n")); printf(_("\t-S\tSwap space utilization statistics\n")); printf(_("\t-u [ ALL ]\n" "\t\tCPU utilization statistics\n")); printf(_("\t-v\tKernel tables statistics\n")); - printf(_("\t-w\tTask creation and system switching statistics\n")); printf(_("\t-W\tSwapping statistics\n")); + printf(_("\t-w\tTask creation and system switching statistics\n")); printf(_("\t-y\tTTY devices statistics\n")); exit(0); } -- 2.40.0