summaryrefslogtreecommitdiff
path: root/parse-options.c
Commit message (Expand)AuthorAgeFilesLines
* parse-options: add support for parsing subcommandsSZEDER Gábor2022-08-191-6/+107
* parse-options: drop leading space from '--git-completion-helper' outputSZEDER Gábor2022-08-191-1/+2
* parse-options: PARSE_OPT_KEEP_UNKNOWN only applies to --optionsSZEDER Gábor2022-08-191-3/+3
* parse-options.c: use optbug() instead of BUG() "opts" checkÆvar Arnfjörð Bjarmason2022-06-021-8/+9
* parse-options.c: use new bug() API for optbug()Ævar Arnfjörð Bjarmason2022-06-021-19/+17
* Merge branch 'ja/i18n-common-messages'Junio C Hamano2022-02-251-0/+34
|\
| * i18n: factorize more 'incompatible options' messagesJean-Noël Avila2022-02-041-0/+34
* | Merge branch 'ab/cat-file'Junio C Hamano2022-02-051-0/+13
|\ \ | |/ |/|
| * parse-options API: add a usage_msg_optf()Ævar Arnfjörð Bjarmason2021-12-301-0/+13
* | Merge branch 'ab/usage-die-message'Junio C Hamano2022-01-101-1/+1
|\ \
| * | usage.c API users: use die_message() for "fatal :" + exit 128Ævar Arnfjörð Bjarmason2021-12-071-1/+1
| |/
* | Merge branch 'ab/parse-options-cleanup'Junio C Hamano2021-12-151-3/+4
|\ \ | |/ |/|
| * parse-options.c: use "enum parse_opt_result" for parse_nodash_opt()Ævar Arnfjörð Bjarmason2021-11-101-3/+4
* | Merge branch 'ab/parse-options-cleanup'Junio C Hamano2021-11-091-5/+5
|\ \ | |/
| * parse-options.[ch]: revert use of "enum" for parse_options()Ævar Arnfjörð Bjarmason2021-11-091-5/+5
* | Merge branch 'ab/parse-options-cleanup'Junio C Hamano2021-10-251-38/+49
|\ \ | |/
| * parse-options: change OPT_{SHORT,UNSET} to an enumÆvar Arnfjörð Bjarmason2021-10-081-9/+14
| * parse-options.[ch]: make opt{bug,name}() "static"Ævar Arnfjörð Bjarmason2021-10-081-2/+2
| * parse-options.c: move optname() earlier in the fileÆvar Arnfjörð Bjarmason2021-10-081-15/+15
| * parse-options.c: use exhaustive "case" arms for "enum parse_opt_result"Ævar Arnfjörð Bjarmason2021-10-081-1/+1
| * parse-options.[ch]: consistently use "enum parse_opt_result"Ævar Arnfjörð Bjarmason2021-10-081-14/+17
| * parse-options.[ch]: consistently use "enum parse_opt_flags"Ævar Arnfjörð Bjarmason2021-10-081-4/+7
* | Merge branch 'ab/align-parse-options-help'Junio C Hamano2021-10-131-12/+64
|\ \ | |/ |/|
| * parse-options: properly align continued usage outputÆvar Arnfjörð Bjarmason2021-09-221-12/+64
* | parse-options API: remove OPTION_ARGUMENT featureÆvar Arnfjörð Bjarmason2021-09-121-13/+0
|/
* parse-options: don't complete option aliases by defaultPhilippe Blain2021-07-161-1/+1
* parse-options: don't leak alias help messagesAndrzej Hunt2021-03-211-1/+18
* MacOS: precompose_argv_prefix()Torsten Bögershausen2021-02-031-1/+1
* parse-options: add --git-completion-helper-allRyan Zoeller2020-08-191-9/+17
* parse-options: teach "git cmd -h" to show alias as aliasJunio C Hamano2020-03-161-6/+3
* Merge branch 'pb/am-show-current-patch'Junio C Hamano2020-03-091-11/+9
|\
| * parse-options: convert "command mode" to a flagPaolo Bonzini2020-02-201-11/+9
* | Merge branch 'jb/parse-options-message-fix'Junio C Hamano2020-02-121-2/+2
|\ \
| * | parse-options: lose an unnecessary space in an error messageJacques Bodin-Hullin2020-02-051-2/+2
| |/
* | C: use skip_prefix() to avoid hardcoded string lengthJunio C Hamano2020-01-311-2/+1
|/
* Fix spelling errors in code commentsElijah Newren2019-11-101-1/+1
* parse-options: allow --end-of-options as a synonym for "--"Jeff King2019-08-061-1/+2
* Merge branch 'nd/diff-parseopt'Junio C Hamano2019-05-301-0/+3
|\
| * parse-options: check empty value in OPT_INTEGER and OPT_ABBREVNguyễn Thái Ngọc Duy2019-05-291-0/+3
* | parse-options: don't emit "ambiguous option" for aliasesNguyễn Thái Ngọc Duy2019-05-071-6/+137
* | Merge branch 'js/difftool-no-index'Junio C Hamano2019-04-251-0/+2
|\ \
| * | parse-options: make OPT_ARGUMENT() more usefulJohannes Schindelin2019-03-181-0/+2
| |/
* | Merge branch 'jk/unused-params-even-more'Junio C Hamano2019-04-251-3/+2
|\ \
| * | parse-options: drop unused ctx parameter from show_gitcomp()Jeff King2019-03-201-3/+2
| |/
* | tests: disallow the use of abbreviated options (by default)Johannes Schindelin2019-04-151-0/+9
|/
* parse-options: allow ll_callback with OPTION_CALLBACKNguyễn Thái Ngọc Duy2019-01-271-14/+28
* parse-options: avoid magic return codesNguyễn Thái Ngọc Duy2019-01-271-24/+45
* parse-options: stop abusing 'callback' for lowlevel callbacksNguyễn Thái Ngọc Duy2019-01-271-1/+14
* parse-options: add OPT_BITOP()Nguyễn Thái Ngọc Duy2019-01-271-0/+7
* parse-options: disable option abbreviation with PARSE_OPT_KEEP_UNKNOWNNguyễn Thái Ngọc Duy2019-01-271-1/+2