perf help: Change 'usage' to 'Usage' for consistency
authorYunlong Song <[email protected]>
Thu, 15 Oct 2015 07:39:51 +0000 (15:39 +0800)
committerArnaldo Carvalho de Melo <[email protected]>
Mon, 19 Oct 2015 19:51:44 +0000 (16:51 -0300)
Capitalize 'usage' to make it consistent with all the other 'Usage' in
the codes, e.g., usage_builtin.

Signed-off-by: Yunlong Song <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ramkumar Ramachandra <[email protected]>
Cc: Sriram Raghunathan <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/builtin-help.c
tools/perf/util/parse-options.c

index 36486eade1ef4f2d30736c99d7471b86d7dd0ada..a7d588bf3cdd345233042131373666af2f9d7598 100644 (file)
@@ -463,7 +463,7 @@ int cmd_help(int argc, const char **argv, const char *prefix __maybe_unused)
                        builtin_help_subcommands, builtin_help_usage, 0);
 
        if (show_all) {
-               printf("\n usage: %s\n\n", perf_usage_string);
+               printf("\n Usage: %s\n\n", perf_usage_string);
                list_commands("perf commands", &main_cmds, &other_cmds);
                printf(" %s\n\n", perf_more_info_string);
                return 0;
index 9a38b05f0273e9620e20d42ca947757a447e1e6d..8aa7922397a9b3d57d30d78e758f401355a723dc 100644 (file)
@@ -648,7 +648,7 @@ int usage_with_options_internal(const char * const *usagestr,
        if (!usagestr)
                return PARSE_OPT_HELP;
 
-       fprintf(stderr, "\n usage: %s\n", *usagestr++);
+       fprintf(stderr, "\n Usage: %s\n", *usagestr++);
        while (*usagestr && **usagestr)
                fprintf(stderr, "    or: %s\n", *usagestr++);
        while (*usagestr) {
@@ -684,7 +684,7 @@ int parse_options_usage(const char * const *usagestr,
        if (!usagestr)
                goto opt;
 
-       fprintf(stderr, "\n usage: %s\n", *usagestr++);
+       fprintf(stderr, "\n Usage: %s\n", *usagestr++);
        while (*usagestr && **usagestr)
                fprintf(stderr, "    or: %s\n", *usagestr++);
        while (*usagestr) {