diff options
author | Miles Bader <miles@gnu.org> | 1997-02-20 00:49:26 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-02-20 00:49:26 +0000 |
commit | 83173056581256944fa4f7ac1105f4fdf523326f (patch) | |
tree | b93aba312b430a8947cff079952f8e204aaf5160 /libshouldbeinlibc | |
parent | 341930aebbb68480b3511931ef33eb5a88795f6f (diff) |
(__argp_error, __argp_failure, __argp_state_help):
Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
Diffstat (limited to 'libshouldbeinlibc')
-rw-r--r-- | libshouldbeinlibc/argp-help.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libshouldbeinlibc/argp-help.c b/libshouldbeinlibc/argp-help.c index 6ae13135..e954652e 100644 --- a/libshouldbeinlibc/argp-help.c +++ b/libshouldbeinlibc/argp-help.c @@ -1398,7 +1398,7 @@ __argp_state_help (struct argp_state *state, FILE *stream, unsigned flags) flags |= ARGP_HELP_LONG_ONLY; _help (state ? state->argp : 0, state, stream, flags, - state ? state->name : program_invocation_name); + state ? state->name : program_invocation_short_name); if (!state || ! (state->flags & ARGP_NO_EXIT)) { @@ -1427,7 +1427,7 @@ __argp_error (struct argp_state *state, const char *fmt, ...) { va_list ap; - fputs (state ? state->name : program_invocation_name, stream); + fputs (state ? state->name : program_invocation_short_name, stream); putc (':', stream); putc (' ', stream); @@ -1463,7 +1463,7 @@ __argp_failure (struct argp_state *state, int status, int errnum, if (stream) { - fputs (state ? state->name : program_invocation_name, stream); + fputs (state ? state->name : program_invocation_short_name, stream); if (fmt) { |