summaryrefslogtreecommitdiff
path: root/parse-options.c
AgeCommit message (Expand)AuthorFilesLines
2021-10-25Merge branch 'ab/parse-options-cleanup'Libravatar Junio C Hamano1-38/+49
2021-10-13Merge branch 'ab/align-parse-options-help'Libravatar Junio C Hamano1-12/+64
2021-10-08parse-options: change OPT_{SHORT,UNSET} to an enumLibravatar Ævar Arnfjörð Bjarmason1-9/+14
2021-10-08parse-options.[ch]: make opt{bug,name}() "static"Libravatar Ævar Arnfjörð Bjarmason1-2/+2
2021-10-08parse-options.c: move optname() earlier in the fileLibravatar Ævar Arnfjörð Bjarmason1-15/+15
2021-10-08parse-options.c: use exhaustive "case" arms for "enum parse_opt_result"Libravatar Ævar Arnfjörð Bjarmason1-1/+1
2021-10-08parse-options.[ch]: consistently use "enum parse_opt_result"Libravatar Ævar Arnfjörð Bjarmason1-14/+17
2021-10-08parse-options.[ch]: consistently use "enum parse_opt_flags"Libravatar Ævar Arnfjörð Bjarmason1-4/+7
2021-09-22parse-options: properly align continued usage outputLibravatar Ævar Arnfjörð Bjarmason1-12/+64
2021-09-12parse-options API: remove OPTION_ARGUMENT featureLibravatar Ævar Arnfjörð Bjarmason1-13/+0
2021-07-16parse-options: don't complete option aliases by defaultLibravatar Philippe Blain1-1/+1
2021-03-21parse-options: don't leak alias help messagesLibravatar Andrzej Hunt1-1/+18
2021-02-03MacOS: precompose_argv_prefix()Libravatar Torsten Bögershausen1-1/+1
2020-08-19parse-options: add --git-completion-helper-allLibravatar Ryan Zoeller1-9/+17
2020-03-16parse-options: teach "git cmd -h" to show alias as aliasLibravatar Junio C Hamano1-6/+3
2020-03-09Merge branch 'pb/am-show-current-patch'Libravatar Junio C Hamano1-11/+9
2020-02-20parse-options: convert "command mode" to a flagLibravatar Paolo Bonzini1-11/+9
2020-02-12Merge branch 'jb/parse-options-message-fix'Libravatar Junio C Hamano1-2/+2
2020-02-05parse-options: lose an unnecessary space in an error messageLibravatar Jacques Bodin-Hullin1-2/+2
2020-01-31C: use skip_prefix() to avoid hardcoded string lengthLibravatar Junio C Hamano1-2/+1
2019-11-10Fix spelling errors in code commentsLibravatar Elijah Newren1-1/+1
2019-08-06parse-options: allow --end-of-options as a synonym for "--"Libravatar Jeff King1-1/+2
2019-05-30Merge branch 'nd/diff-parseopt'Libravatar Junio C Hamano1-0/+3
2019-05-29parse-options: check empty value in OPT_INTEGER and OPT_ABBREVLibravatar Nguyễn Thái Ngọc Duy1-0/+3
2019-05-07parse-options: don't emit "ambiguous option" for aliasesLibravatar Nguyễn Thái Ngọc Duy1-6/+137
2019-04-25Merge branch 'js/difftool-no-index'Libravatar Junio C Hamano1-0/+2
2019-04-25Merge branch 'jk/unused-params-even-more'Libravatar Junio C Hamano1-3/+2
2019-04-15tests: disallow the use of abbreviated options (by default)Libravatar Johannes Schindelin1-0/+9
2019-03-20parse-options: drop unused ctx parameter from show_gitcomp()Libravatar Jeff King1-3/+2
2019-03-18parse-options: make OPT_ARGUMENT() more usefulLibravatar Johannes Schindelin1-0/+2
2019-01-27parse-options: allow ll_callback with OPTION_CALLBACKLibravatar Nguyễn Thái Ngọc Duy1-14/+28
2019-01-27parse-options: avoid magic return codesLibravatar Nguyễn Thái Ngọc Duy1-24/+45
2019-01-27parse-options: stop abusing 'callback' for lowlevel callbacksLibravatar Nguyễn Thái Ngọc Duy1-1/+14
2019-01-27parse-options: add OPT_BITOP()Libravatar Nguyễn Thái Ngọc Duy1-0/+7
2019-01-27parse-options: disable option abbreviation with PARSE_OPT_KEEP_UNKNOWNLibravatar Nguyễn Thái Ngọc Duy1-1/+2
2019-01-27parse-options: add one-shot modeLibravatar Nguyễn Thái Ngọc Duy1-4/+22
2019-01-14Merge branch 'nd/indentation-fix'Libravatar Junio C Hamano1-1/+1
2019-01-04Merge branch 'nd/i18n'Libravatar Junio C Hamano1-29/+35
2018-12-15Merge branch 'nd/show-gitcomp-compilation-fix' into maintLibravatar Junio C Hamano1-1/+3
2018-12-12parse-options: fix SunCC compiler warningLibravatar Nguyễn Thái Ngọc Duy1-1/+3
2018-12-09Indent code with TABsLibravatar Nguyễn Thái Ngọc Duy1-1/+1
2018-11-12parse-options.c: mark more strings for translationLibravatar Nguyễn Thái Ngọc Duy1-7/+7
2018-11-12parse-options.c: turn some die() to BUG()Libravatar Nguyễn Thái Ngọc Duy1-2/+2
2018-11-12parse-options: replace opterror() with optname()Libravatar Nguyễn Thái Ngọc Duy1-20/+26
2018-08-17Merge branch 'rs/parse-opt-lithelp'Libravatar Junio C Hamano1-1/+2
2018-08-03parse-options: automatically infer PARSE_OPT_LITERAL_ARGHELPLibravatar René Scharfe1-1/+2
2018-06-11completion: collapse extra --no-.. optionsLibravatar Nguyễn Thái Ngọc Duy1-18/+54
2018-05-29parse-options: option to let --git-completion-helper show negative formLibravatar Nguyễn Thái Ngọc Duy1-4/+18
2018-04-10Merge branch 'ps/contains-id-error-message'Libravatar Junio C Hamano1-9/+11
2018-03-22parse-options: do not show usage upon invalid option valueLibravatar Paul-Sebastian Ungureanu1-9/+11