From: Namhyung Kim Date: Sat, 7 Jan 2012 17:25:30 +0000 (+0900) Subject: perf annotate: Fix usage string X-Git-Tag: v3.3-rc1~51^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=993452541796f3637da9f2e537b9333494b3b2a1;p=platform%2Fkernel%2Flinux-stable.git 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 Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1325957132-10600-6-git-send-email-namhyung@gmail.com Signed-off-by: Namhyung Kim Signed-off-by: Arnaldo Carvalho de Melo --- 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 @@ out_delete: } static const char * const annotate_usage[] = { - "perf annotate [] ", + "perf annotate []", NULL };