Commit 3a134ae9 authored by Yunlong Song's avatar Yunlong Song Committed by Arnaldo Carvalho de Melo

perf help: Change 'usage' to 'Usage' for consistency

Capitalize 'usage' to make it consistent with all the other 'Usage' in
the codes, e.g., usage_builtin.
Signed-off-by: default avatarYunlong Song <yunlong.song@huawei.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ramkumar Ramachandra <artagnon@gmail.com>
Cc: Sriram Raghunathan <sriram.r@nokia.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1444894792-2338-3-git-send-email-yunlong.song@huawei.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent aa254af2
...@@ -463,7 +463,7 @@ int cmd_help(int argc, const char **argv, const char *prefix __maybe_unused) ...@@ -463,7 +463,7 @@ int cmd_help(int argc, const char **argv, const char *prefix __maybe_unused)
builtin_help_subcommands, builtin_help_usage, 0); builtin_help_subcommands, builtin_help_usage, 0);
if (show_all) { 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); list_commands("perf commands", &main_cmds, &other_cmds);
printf(" %s\n\n", perf_more_info_string); printf(" %s\n\n", perf_more_info_string);
return 0; return 0;
......
...@@ -648,7 +648,7 @@ int usage_with_options_internal(const char * const *usagestr, ...@@ -648,7 +648,7 @@ int usage_with_options_internal(const char * const *usagestr,
if (!usagestr) if (!usagestr)
return PARSE_OPT_HELP; return PARSE_OPT_HELP;
fprintf(stderr, "\n usage: %s\n", *usagestr++); fprintf(stderr, "\n Usage: %s\n", *usagestr++);
while (*usagestr && **usagestr) while (*usagestr && **usagestr)
fprintf(stderr, " or: %s\n", *usagestr++); fprintf(stderr, " or: %s\n", *usagestr++);
while (*usagestr) { while (*usagestr) {
...@@ -684,7 +684,7 @@ int parse_options_usage(const char * const *usagestr, ...@@ -684,7 +684,7 @@ int parse_options_usage(const char * const *usagestr,
if (!usagestr) if (!usagestr)
goto opt; goto opt;
fprintf(stderr, "\n usage: %s\n", *usagestr++); fprintf(stderr, "\n Usage: %s\n", *usagestr++);
while (*usagestr && **usagestr) while (*usagestr && **usagestr)
fprintf(stderr, " or: %s\n", *usagestr++); fprintf(stderr, " or: %s\n", *usagestr++);
while (*usagestr) { while (*usagestr) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment