[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 <SNIP lots of other options> FILE So now its a bit redundant, like: --executable|-e FILE <SNIP lots of other options> -e FILE But as this is the most common usage pattern, give it more visibility. Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
This commit is contained in:
parent
1d473d951e
commit
786ef46234
2
pahole.c
2
pahole.c
|
@ -503,7 +503,7 @@ static error_t pahole__options_parser(int key, char *arg,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char pahole__args_doc[] = "[FILE] {[CLASS]}";
|
static const char pahole__args_doc[] = "-e [FILE] {[CLASS]}";
|
||||||
|
|
||||||
static struct argp pahole__argp = {
|
static struct argp pahole__argp = {
|
||||||
.options = pahole__options,
|
.options = pahole__options,
|
||||||
|
|
2
pfunct.c
2
pfunct.c
|
@ -424,7 +424,7 @@ static error_t pfunct__options_parser(int key, char *arg,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char pfunct__args_doc[] = "[FILE] {[FUNCTION]}";
|
static const char pfunct__args_doc[] = "-e [FILE] {[FUNCTION]}";
|
||||||
|
|
||||||
static struct argp pfunct__argp = {
|
static struct argp pfunct__argp = {
|
||||||
.options = pfunct__options,
|
.options = pfunct__options,
|
||||||
|
|
|
@ -299,7 +299,7 @@ static error_t pglobal__options_parser(int key, char *arg __unused,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char pglobal__args_doc[] = "[FILE]";
|
static const char pglobal__args_doc[] = "-e [FILE]";
|
||||||
|
|
||||||
static struct argp pglobal__argp = {
|
static struct argp pglobal__argp = {
|
||||||
.options = pglobal__options,
|
.options = pglobal__options,
|
||||||
|
|
Loading…
Reference in New Issue