34 Commits (0e214af9c34623979b19bb183bd8e518d749fd63)

Author SHA1 Message Date
Junio C Hamano dbd0f5c769 Files given on the command line are relative to $cwd 16 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