projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* build-aux/maint.mk: Add indent target.
[gnulib.git]
/
lib
/
argp-help.c
diff --git
a/lib/argp-help.c
b/lib/argp-help.c
index
d3ad4c3
..
83962d3
100644
(file)
--- a/
lib/argp-help.c
+++ b/
lib/argp-help.c
@@
-50,7
+50,6
@@
#include "argp.h"
#include "argp-fmtstream.h"
#include "argp-namefrob.h"
#include "argp.h"
#include "argp-fmtstream.h"
#include "argp-namefrob.h"
-#include "dirname.h"
#ifndef SIZE_MAX
# define SIZE_MAX ((size_t) -1)
#ifndef SIZE_MAX
# define SIZE_MAX ((size_t) -1)
@@
-1305,7
+1304,7
@@
usage_long_opt (const struct argp_option *opt,
if (! arg)
arg = real->arg;
if (! arg)
arg = real->arg;
- if (! (flags & OPTION_NO_USAGE))
+ if (! (flags & OPTION_NO_USAGE)
&& !odoc (opt)
)
{
if (arg)
{
{
if (arg)
{
@@
-1714,15
+1713,6
@@
void __argp_help (const struct argp *argp, FILE *stream,
weak_alias (__argp_help, argp_help)
#endif
weak_alias (__argp_help, argp_help)
#endif
-char *
-__argp_base_name (char *name)
-{
- char *p;
- for (p = name + strlen (name); p > name && !ISSLASH (p[-1]); p--)
- ;
- return p;
-}
-
#if ! (defined _LIBC || HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME)
char *
__argp_short_program_name (void)
#if ! (defined _LIBC || HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME)
char *
__argp_short_program_name (void)