summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-12 06:56:33 +0000
committerMiles Bader <miles@gnu.org>1997-02-12 06:56:33 +0000
commitf8b4ea6079363fb3f015233eaad813c1e09536db (patch)
tree65a4a33a00ae1366190e9288e8a0dd22d846b845
parente5d66e0334d516bf75aa4666a823ab65099e4ddf (diff)
(ARGP_KEY_END, ARGP_KEY_NO_ARGS, ARGP_KEY_INIT, ARGP_KEY_SUCCESS,
ARGP_KEY_ERROR): Change values.
-rw-r--r--libshouldbeinlibc/argp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libshouldbeinlibc/argp.h b/libshouldbeinlibc/argp.h
index 3c41731e..abe52b56 100644
--- a/libshouldbeinlibc/argp.h
+++ b/libshouldbeinlibc/argp.h
@@ -133,23 +133,23 @@ typedef error_t (*argp_parser_t)(int key, char *arg, struct argp_state *state);
processed again. */
#define ARGP_KEY_ARG 0
/* There are no more command line arguments at all. */
-#define ARGP_KEY_END 1
+#define ARGP_KEY_END 0x1000001
/* Because it's common to want to do some special processing if there aren't
any non-option args, user parsers are called with this key if they didn't
successfully process any non-option arguments. Called just before
ARGP_KEY_END (where more general validity checks on previously parsed
arguments can take place). */
-#define ARGP_KEY_NO_ARGS 2
+#define ARGP_KEY_NO_ARGS 0x1000002
/* Passed in before any parsing is done. Afterwards, the values of each
element of the CHILD_INPUT field, if any, in the state structure is
copied to each child's state to be the initial value of the INPUT field. */
-#define ARGP_KEY_INIT 3
+#define ARGP_KEY_INIT 0x1000003
/* Passed in when parsing has successfully been completed (even if there are
still arguments remaining). */
-#define ARGP_KEY_SUCCESS 4
+#define ARGP_KEY_SUCCESS 0x1000004
/* Passed in if an error occurs (in which case a call with ARGP_KEY_SUCCESS is
never made, so any cleanup must be done here). */
-#define ARGP_KEY_ERROR 5
+#define ARGP_KEY_ERROR 0x1000005
/* An argp structure contains a set of getopt options declarations, a
function to deal with getting one, and an optional pointer to another