commit | 993452541796f3637da9f2e537b9333494b3b2a1 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <[email protected]> | Sun Jan 08 02:25:30 2012 +0900 |
committer | Arnaldo Carvalho de Melo <[email protected]> | Sun Jan 08 13:28:48 2012 -0200 |
tree | 9ae4400189aad41fcbfdcde757366434c5d1aef8 | |
parent | 1b22859d4320d472a7a51ff4a43f62b0578469de [diff] [blame] |
perf annotate: Fix usage string The annotate command doesn't take non-option arguments. In fact, it can take last argument as a symbol filter though, but that's a special case and, IMHO, it should be discouraged in favor of the -s option. Cc: Ingo Molnar <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index 214ba7f..3ec2496 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c
@@ -235,7 +235,7 @@ } static const char * const annotate_usage[] = { - "perf annotate [<options>] <command>", + "perf annotate [<options>]", NULL };