diff options
author | Miles Bader <miles@gnu.org> | 1997-02-21 18:51:50 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-02-21 18:51:50 +0000 |
commit | 2fbb9422d15efea6a7d7061d2f75dd5c5b1e169b (patch) | |
tree | 947f0c2051a0c6a0589e172e4c767d34ed9d6941 /libshouldbeinlibc/argp.h | |
parent | dcd30a2edcf99e8516fe4402af04a1d7eee031bf (diff) |
(OPTION_NO_USAGE):
New macro.
Diffstat (limited to 'libshouldbeinlibc/argp.h')
-rw-r--r-- | libshouldbeinlibc/argp.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libshouldbeinlibc/argp.h b/libshouldbeinlibc/argp.h index a89ef23d..8014d1ee 100644 --- a/libshouldbeinlibc/argp.h +++ b/libshouldbeinlibc/argp.h @@ -108,6 +108,15 @@ struct argp_option is displayed after all options (and OPTION_DOC entries with a leading `-') in the same group. */ #define OPTION_DOC 0x8 + +/* This option shouldn't be included in `long' usage messages (but is still + included in help messages). This is mainly intended for options that are + completely documented in an argp's ARGS_DOC field, in which case including + the option in the generic usage list would be redundant. For instance, + if ARGS_DOC is "FOO BAR\n-x BLAH", and the `-x' option's purpose is to + distinguish these two cases, -x should probably be marked + OPTION_NO_USAGE. */ +#define OPTION_NO_USAGE 0x10 struct argp; /* fwd declare this type */ struct argp_state; /* " */ |