summaryrefslogtreecommitdiff
path: root/parse-options.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-12-15 03:24:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-12-15 03:24:33 (GMT)
commitbf29f074ed7019abb53398c4cd5659d9f939d9a8 (patch)
tree0980dba5e1b347ef0c2fad32cb36923dd64b83c5 /parse-options.h
parent6be6e6629fe9da1bfef904d2615536ad0db14e1d (diff)
parenta92ec7efe0ad25f1c2047230c0324dcb54ce1cfc (diff)
downloadgit-bf29f074ed7019abb53398c4cd5659d9f939d9a8.zip
git-bf29f074ed7019abb53398c4cd5659d9f939d9a8.tar.gz
git-bf29f074ed7019abb53398c4cd5659d9f939d9a8.tar.bz2
Merge branch 'nd/show-gitcomp-compilation-fix' into maint
Portability fix for a recent update to parse-options API. * nd/show-gitcomp-compilation-fix: parse-options: fix SunCC compiler warning
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 6c4fe20..a650a7d 100644
--- a/parse-options.h
+++ b/parse-options.h
@@ -208,6 +208,7 @@ extern int opterror(const struct option *opt, const char *reason, int flags);
/*----- incremental advanced APIs -----*/
enum {
+ PARSE_OPT_COMPLETE = -2,
PARSE_OPT_HELP = -1,
PARSE_OPT_DONE,
PARSE_OPT_NON_OPTION,