aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/perf_counter/builtin-help.c
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/perf_counter/builtin-help.c')
-rw-r--r--Documentation/perf_counter/builtin-help.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/perf_counter/builtin-help.c b/Documentation/perf_counter/builtin-help.c
index a3894bfb9b6e..0f32dc3f3c4c 100644
--- a/Documentation/perf_counter/builtin-help.c
+++ b/Documentation/perf_counter/builtin-help.c
@@ -284,7 +284,7 @@ void list_common_cmds_help(void)
284 longest = strlen(common_cmds[i].name); 284 longest = strlen(common_cmds[i].name);
285 } 285 }
286 286
287 puts("The most commonly used perf commands are:"); 287 puts(" The most commonly used perf commands are:");
288 for (i = 0; i < ARRAY_SIZE(common_cmds); i++) { 288 for (i = 0; i < ARRAY_SIZE(common_cmds); i++) {
289 printf(" %s ", common_cmds[i].name); 289 printf(" %s ", common_cmds[i].name);
290 mput_char(' ', longest - strlen(common_cmds[i].name)); 290 mput_char(' ', longest - strlen(common_cmds[i].name));
@@ -426,16 +426,16 @@ int cmd_help(int argc, const char **argv, const char *prefix)
426 builtin_help_usage, 0); 426 builtin_help_usage, 0);
427 427
428 if (show_all) { 428 if (show_all) {
429 printf("usage: %s\n\n", perf_usage_string); 429 printf("\n usage: %s\n\n", perf_usage_string);
430 list_commands("perf commands", &main_cmds, &other_cmds); 430 list_commands("perf commands", &main_cmds, &other_cmds);
431 printf("%s\n", perf_more_info_string); 431 printf(" %s\n\n", perf_more_info_string);
432 return 0; 432 return 0;
433 } 433 }
434 434
435 if (!argv[0]) { 435 if (!argv[0]) {
436 printf("usage: %s\n\n", perf_usage_string); 436 printf("\n usage: %s\n\n", perf_usage_string);
437 list_common_cmds_help(); 437 list_common_cmds_help();
438 printf("\n%s\n", perf_more_info_string); 438 printf("\n %s\n\n", perf_more_info_string);
439 return 0; 439 return 0;
440 } 440 }
441 441