diff options
author | David S. Miller <davem@davemloft.net> | 2010-05-19 02:01:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-19 02:01:55 -0400 |
commit | 2ec8c6bb5d8f3a62a79f463525054bae1e3d4487 (patch) | |
tree | fa7f8400ac685fb52e96f64997c7c682fc2aa021 /tools/perf/builtin-help.c | |
parent | 7b39f90fabcf9e2af0cd79d0a60440d821e22b56 (diff) | |
parent | 537b60d17894b7c19a6060feae40299d7109d6e7 (diff) |
Merge branch 'master' of /home/davem/src/GIT/linux-2.6/
Conflicts:
include/linux/mod_devicetable.h
scripts/mod/file2alias.c
Diffstat (limited to 'tools/perf/builtin-help.c')
-rw-r--r-- | tools/perf/builtin-help.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/perf/builtin-help.c b/tools/perf/builtin-help.c index 215b584007b1..6d5a8a7faf48 100644 --- a/tools/perf/builtin-help.c +++ b/tools/perf/builtin-help.c | |||
@@ -29,14 +29,14 @@ enum help_format { | |||
29 | HELP_FORMAT_WEB, | 29 | HELP_FORMAT_WEB, |
30 | }; | 30 | }; |
31 | 31 | ||
32 | static int show_all = 0; | 32 | static bool show_all = false; |
33 | static enum help_format help_format = HELP_FORMAT_MAN; | 33 | static enum help_format help_format = HELP_FORMAT_MAN; |
34 | static struct option builtin_help_options[] = { | 34 | static struct option builtin_help_options[] = { |
35 | OPT_BOOLEAN('a', "all", &show_all, "print all available commands"), | 35 | OPT_BOOLEAN('a', "all", &show_all, "print all available commands"), |
36 | OPT_SET_INT('m', "man", &help_format, "show man page", HELP_FORMAT_MAN), | 36 | OPT_SET_UINT('m', "man", &help_format, "show man page", HELP_FORMAT_MAN), |
37 | OPT_SET_INT('w', "web", &help_format, "show manual in web browser", | 37 | OPT_SET_UINT('w', "web", &help_format, "show manual in web browser", |
38 | HELP_FORMAT_WEB), | 38 | HELP_FORMAT_WEB), |
39 | OPT_SET_INT('i', "info", &help_format, "show info page", | 39 | OPT_SET_UINT('i', "info", &help_format, "show info page", |
40 | HELP_FORMAT_INFO), | 40 | HELP_FORMAT_INFO), |
41 | OPT_END(), | 41 | OPT_END(), |
42 | }; | 42 | }; |