diff options
| author | Junio C Hamano <gitster@pobox.com> | 2008-03-08 21:29:59 -0800 | 
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2008-03-08 21:29:59 -0800 | 
| commit | 1cbcefb107776ce2da374697bb4f6e2bd22ff73f (patch) | |
| tree | 1d1bcd19b1433a8c18220e083414be93881657ca /test-parse-options.c | |
| parent | 175f5595511b047a320e5c6163c642ac1fc34681 (diff) | |
| parent | 580d5bffdea56dfae1e745dbda94f326bb161274 (diff) | |
| download | git-1cbcefb107776ce2da374697bb4f6e2bd22ff73f.tar.gz | |
Merge branch 'ph/parseopt'
* ph/parseopt:
  parse-options: new option type to treat an option-like parameter as an argument.
  parse-opt: bring PARSE_OPT_HIDDEN and NONEG to git-rev-parse --parseopt
Diffstat (limited to 'test-parse-options.c')
| -rw-r--r-- | test-parse-options.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/test-parse-options.c b/test-parse-options.c index eed8a02c65..73360d7512 100644 --- a/test-parse-options.c +++ b/test-parse-options.c @@ -20,6 +20,8 @@ int main(int argc, const char **argv)  		OPT_STRING(0, "string2", &string, "str", "get another string"),  		OPT_STRING(0, "st", &string, "st", "get another string (pervert ordering)"),  		OPT_STRING('o', NULL, &string, "str", "get another string"), +		OPT_GROUP("magic arguments"), +		OPT_ARGUMENT("quux", "means --quux"),  		OPT_END(),  	};  	int i; | 
