summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/argp.h
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-02-14 19:44:47 +0000
committerMiles Bader <miles@gnu.org>1996-02-14 19:44:47 +0000
commitfb0de463cd1b4c56dda1ecb813733702948def6a (patch)
treef0ca594a3e3cdfafc241d05aef1d8dbd4839b08e /libshouldbeinlibc/argp.h
parentcd85bf05f3bbbd7555c89cf51c542047e452480b (diff)
(struct argp_state): Add `quoted' field.
Diffstat (limited to 'libshouldbeinlibc/argp.h')
-rw-r--r--libshouldbeinlibc/argp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libshouldbeinlibc/argp.h b/libshouldbeinlibc/argp.h
index 5b652dd2..f832edec 100644
--- a/libshouldbeinlibc/argp.h
+++ b/libshouldbeinlibc/argp.h
@@ -163,6 +163,11 @@ struct argp_state
such call returns. At all other times, this is the number of such
arguments that have been processed. */
unsigned arg_num;
+
+ /* If non-zero, the index in ARGV of the first argument following a special
+ `--' argument (which prevents anything following being interpreted as an
+ option). Only set once argument parsing has proceeded past this point. */
+ int quoted;
};
/* Flags for argp_parse (note that the defaults are those that are