summaryrefslogtreecommitdiff
path: root/parse-options.c
Commit message (Expand)AuthorAgeFilesLines
* treewide: remove unnecessary includes of cache.hElijah Newren2023-03-211-1/+0
* abspath.h: move absolute path functions from cache.hElijah Newren2023-03-211-0/+1
* treewide: be explicit about dependence on gettext.hElijah Newren2023-03-211-0/+1
* Merge branch 'jk/bundle-use-dash-for-stdfiles'Junio C Hamano2023-03-191-6/+6
|\
| * parse-options: use prefix_filename_except_for_dash() helperJeff King2023-03-061-3/+1
| * parse-options: consistently allocate memory in fix_filename()Jeff King2023-03-061-6/+8
* | use DUP_ARRAYRené Scharfe2023-01-091-2/+1
|/
* 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
|\ \