summaryrefslogtreecommitdiff
path: root/parse-options.h
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2008-02-29 01:45:09 +0000
committerJunio C Hamano <gitster@pobox.com>2008-03-01 01:51:44 -0800
commita0ec9d25d9f1c1469ec375169557a1c17d486993 (patch)
treeb9cebfe937f766970f72895414dc59e20e82a796 /parse-options.h
parent363d59df1a773039d0c69ad8c3109a56bb1b491d (diff)
downloadgit-a0ec9d25d9f1c1469ec375169557a1c17d486993.tar.gz
parseopt: add flag to stop on first non option
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'parse-options.h')
-rw-r--r--parse-options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse-options.h b/parse-options.h
index 102ac31fb7..0d40cd2f12 100644
--- a/parse-options.h
+++ b/parse-options.h
@@ -18,6 +18,7 @@ enum parse_opt_type {
enum parse_opt_flags {
PARSE_OPT_KEEP_DASHDASH = 1,
+ PARSE_OPT_STOP_AT_NON_OPTION = 2,
};
enum parse_opt_option_flags {