Messages in this thread Patch in this message | | | From | Namhyung Kim <> | Subject | [PATCH 2/8] perf test: Change type of '-v' option to INCR | Date | Sun, 8 Jan 2012 02:25:26 +0900 |
| |
The '-v' option is usually defined via OPT_INCR not _INTEGER. Follow the trend :).
Signed-off-by: Namhyung Kim <namhyung@gmail.com> --- tools/perf/builtin-test.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/perf/builtin-test.c b/tools/perf/builtin-test.c index 2b9a7f497a20..3854e869dce1 100644 --- a/tools/perf/builtin-test.c +++ b/tools/perf/builtin-test.c @@ -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() }; -- 1.7.6
| |