]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
perf test: Change type of '-v' option to INCR
authorNamhyung Kim <namhyung@gmail.com>
Sat, 7 Jan 2012 17:25:26 +0000 (02:25 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 8 Jan 2012 15:25:00 +0000 (13:25 -0200)
The '-v' option is usually defined via OPT_INCR not _INTEGER.  Follow
the trend :).

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1325957132-10600-2-git-send-email-namhyung@gmail.com
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-test.c

index 2b9a7f497a20b77015225127eb3e5df698e5b8b1..3854e869dce10f95181375f5f5d51262bfb2dcdf 100644 (file)
@@ -1396,7 +1396,7 @@ int cmd_test(int argc, const char **argv, const char *prefix __used)
        NULL,
        };
        const struct option test_options[] = {
-       OPT_INTEGER('v', "verbose", &verbose,
+       OPT_INCR('v', "verbose", &verbose,
                    "be more verbose (show symbol address, etc)"),
        OPT_END()
        };