summaryrefslogtreecommitdiff
path: root/Documentation/perf_counter/perf.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-03-13 03:20:49 +0100
committerIngo Molnar <mingo@elte.hu>2009-06-06 14:41:49 +0200
commit502fc5c72a886ff9d4d7a596e65ecc4dd5e4d458 (patch)
treed7ea78d9f6360c10ee52202f45567611d2ca61c7 /Documentation/perf_counter/perf.c
parent386b05e3a2f3c5b0a9c5575060421cca0911648a (diff)
downloadlwn-502fc5c72a886ff9d4d7a596e65ecc4dd5e4d458.tar.gz
lwn-502fc5c72a886ff9d4d7a596e65ecc4dd5e4d458.zip
perf_counter tools: Uniform help printouts
Also add perf list to command-list.txt. Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/perf_counter/perf.c')
-rw-r--r--Documentation/perf_counter/perf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/perf_counter/perf.c b/Documentation/perf_counter/perf.c
index 9ac75657a180..161824f1241f 100644
--- a/Documentation/perf_counter/perf.c
+++ b/Documentation/perf_counter/perf.c
@@ -384,9 +384,9 @@ int main(int argc, const char **argv)
argv[0] += 2;
} else {
/* The user didn't specify a command; give them help */
- printf("usage: %s\n\n", perf_usage_string);
+ printf("\n usage: %s\n\n", perf_usage_string);
list_common_cmds_help();
- printf("\n%s\n", perf_more_info_string);
+ printf("\n %s\n\n", perf_more_info_string);
exit(1);
}
cmd = argv[0];