55 Commits (518ef8f07f72271dff4040c1e7452ab6de73d199)

Author SHA1 Message Date
Johannes Schindelin 86b5efb286 parse-opt: optionally show "--no-" option string 16 years ago
Linus Torvalds 2af202be3d Fix various sparse warnings in the git source code 16 years ago
Pierre Habouzit cb9d398c35 parse-options: add parse_options_check to validate option specs. 16 years ago
Stephen Boyd 34aec9f573 parse-options: simplify usage argh handling 16 years ago
Stephen Boyd e3a0ca8784 parse-options: make OPT_INTEGER's argh explicit 16 years ago
Christian Couder 451bb210f8 parse-options: add new function "usage_msg_opt" 16 years ago
Stephen Boyd df217ed643 parse-opts: add OPT_FILENAME and transition builtins 16 years ago
Stephen Boyd 3778292017 parse-opts: prepare for OPT_FILENAME 16 years ago
Stephen Boyd 29f25d493c parse-options: add PARSE_OPT_LITERAL_ARGHELP for complicated argh's 16 years ago
René Scharfe 51a9949eda parseopt: add PARSE_OPT_NODASH 16 years ago
René Scharfe e0319ff5ed parseopt: add OPT_NUMBER_CALLBACK 16 years ago
René Scharfe 2f4b97f910 parseopt: add OPT_NEGBIT 16 years ago
René Scharfe 0d260f9a09 parseopt: prevent KEEP_UNKNOWN and STOP_AT_NON_OPTION from being used together 16 years ago
René Scharfe 49b6180252 parseopt: make usage optional 16 years ago
René Scharfe b92891f978 parseopt: add PARSE_OPT_NO_INTERNAL_HELP 16 years ago
René Scharfe b5ce3a5430 parseopt: add PARSE_OPT_KEEP_UNKNOWN 16 years ago
Jake Goulding 269defdf30 Make opt_parse_with_commit() non-static 16 years ago
Tuncer Ayaz 7f87aff22c Teach/Fix pull/fetch -q/-v options 16 years ago
Junio C Hamano dbd0f5c769 Files given on the command line are relative to $cwd 17 years ago
Olivier Marin d5d745f90b parse-options: fix segmentation fault when a required value is missing 17 years ago
Nanako Shiraishi 1121a8786e parse-options.c: make check_typos() static 17 years ago
Pierre Habouzit 1cc6985ca7 parse-options: add PARSE_OPT_LASTARG_DEFAULT flag 17 years ago
Miklos Vajna fbca583732 Move parse-options's skip_prefix() to git-compat-util.h 17 years ago
Pierre Habouzit a32a4eaa36 parse-opt: add PARSE_OPT_KEEP_ARGV0 parser option. 17 years ago
Pierre Habouzit 26141b5b60 parse-opt: fake short strings for callers to believe in. 17 years ago
Pierre Habouzit 07fe54db3c parse-opt: do not print errors on unknown options, return -2 intead. 17 years ago
Pierre Habouzit ff43ec3e2d parse-opt: create parse_options_step. 17 years ago
Pierre Habouzit ee68b87a62 parse-opt: Export a non NORETURN usage dumper. 17 years ago
Pierre Habouzit 7e7bbcb4b3 parse-opt: have parse_options_{start,end}. 17 years ago
Michele Ballabio 6422f63321 parse-options.c: fix documentation syntax of optional arguments 17 years ago
Jeff King 44d86e910d avoid whitespace on empty line in automatic usage message 17 years ago
Carlos Rica 3f36cbbaaf Fix documentation syntax of optional arguments in short options. 17 years ago
Michele Ballabio 1f4a711a05 parse-options.c: introduce OPT_DATE 17 years ago
Pierre Habouzit 580d5bffde parse-options: new option type to treat an option-like parameter as an argument. 17 years ago
Johannes Schindelin a0ec9d25d9 parseopt: add flag to stop on first non option 17 years ago
Pierre Habouzit 3a9f0f41db parse-options: catch likely typo in presense of aggregated options. 17 years ago
Pierre Habouzit c43a24834a Force the sticked form for options with optional arguments. 17 years ago
Pierre Habouzit dd3bf0f4a5 parse-options: Allow to hide options from the default usage. 17 years ago
Pierre Habouzit db7244bd5b parse-options new features. 17 years ago
Johannes Schindelin 243e0614e0 parse-options: abbreviation engine fix. 17 years ago
Pierre Habouzit f481e22a14 parse-options: allow callbacks to take no arguments at all. 17 years ago
Johannes Schindelin 7f275b9152 parse-options: Allow abbreviated options when unambiguous 17 years ago
Pierre Habouzit 0ce865b134 Add shortcuts for very often used options. 17 years ago
Pierre Habouzit ffe659f94d parse-options: make some arguments optional, add callbacks. 17 years ago
Alex Riesen f389c808b6 Rework make_usage to print the usage message immediately 17 years ago
Pierre Habouzit d7a38c54a6 parse-options: be able to generate usages automatically 17 years ago
Pierre Habouzit 4a59fd1312 Add a simple option parser. 17 years ago