From 786ef46234d143c56af0f70c119012a2111cde3e Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Wed, 4 Apr 2007 08:29:21 -0300 Subject: [PATCH] [TOOLS]: Give "-e FILE", the basic way of using most tools, more visibility Suggested by: Jeff Muizelaar. And it was wrong in the sense that the help was like: --executable|-e FILE FILE So now its a bit redundant, like: --executable|-e FILE -e FILE But as this is the most common usage pattern, give it more visibility. Signed-off-by: Arnaldo Carvalho de Melo --- pahole.c | 2 +- pfunct.c | 2 +- pglobal.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pahole.c b/pahole.c index 3b359e0..b6fb2da 100644 --- a/pahole.c +++ b/pahole.c @@ -503,7 +503,7 @@ static error_t pahole__options_parser(int key, char *arg, return 0; } -static const char pahole__args_doc[] = "[FILE] {[CLASS]}"; +static const char pahole__args_doc[] = "-e [FILE] {[CLASS]}"; static struct argp pahole__argp = { .options = pahole__options, diff --git a/pfunct.c b/pfunct.c index 5c73b65..20e4826 100644 --- a/pfunct.c +++ b/pfunct.c @@ -424,7 +424,7 @@ static error_t pfunct__options_parser(int key, char *arg, return 0; } -static const char pfunct__args_doc[] = "[FILE] {[FUNCTION]}"; +static const char pfunct__args_doc[] = "-e [FILE] {[FUNCTION]}"; static struct argp pfunct__argp = { .options = pfunct__options, diff --git a/pglobal.c b/pglobal.c index aaa59d5..86ceb71 100644 --- a/pglobal.c +++ b/pglobal.c @@ -299,7 +299,7 @@ static error_t pglobal__options_parser(int key, char *arg __unused, return 0; } -static const char pglobal__args_doc[] = "[FILE]"; +static const char pglobal__args_doc[] = "-e [FILE]"; static struct argp pglobal__argp = { .options = pglobal__options,