tools/power turbostat: alphabetize the help output
authorNathan Ciobanu <nathan.d.ciobanu@linux.intel.com>
Thu, 14 Jun 2018 02:51:32 +0000 (19:51 -0700)
committerLen Brown <len.brown@intel.com>
Wed, 20 Jun 2018 17:55:04 +0000 (13:55 -0400)
Sort the command line arguments output of help() in
alphabetical order in line with other linux tools.

Signed-off-by: Nathan Ciobanu <nathan.d.ciobanu@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c

index 97cc00a9c7631058bddde80d8ce8f178702eb5f3..d33b655299ba0ccdc255d6ec53da2b2af07c99f4 100644 (file)
@@ -528,12 +528,12 @@ void help(void)
        "               eg. --add msr0x10,u64,cpu,delta,MY_TSC\n"
        "--cpu  cpu-set limit output to summary plus cpu-set:\n"
        "               {core | package | j,k,l..m,n-p }\n"
-       "--quiet        skip decoding system configuration header\n"
        "--interval sec.subsec  Override default 5-second measurement interval\n"
-       "--help         print this help message\n"
        "--list         list column headers only\n"
        "--num_iterations num   number of the measurement iterations\n"
        "--out file     create or truncate \"file\" for all output\n"
+       "--quiet        skip decoding system configuration header\n"
+       "--help         print this help message\n"
        "--version      print version information\n"
        "\n"
        "For more help, run \"man turbostat\"\n");