summaryrefslogtreecommitdiffstats
path: root/parse-options.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* parse-options: free previous value of `OPTION_FILENAME`Patrick Steinhardt2024-09-271-8/+14
* parse-options: rearrange long_name matching codeRené Scharfe2024-03-031-22/+15
* parse-options: normalize arg and long_name before comparisonRené Scharfe2024-03-031-22/+22
* parse-options: detect ambiguous self-negationRené Scharfe2024-03-031-2/+1
* parse-options: factor out register_abbrev() and struct parsed_optionRené Scharfe2024-03-031-34/+49
* parse-options: set arg of abbreviated option lazilyRené Scharfe2024-03-031-3/+4
* parse-options: recognize abbreviated negated option with argRené Scharfe2024-03-031-2/+3
* Merge branch 'rs/parse-options-with-keep-unknown-abbrev-fix'Junio C Hamano2024-01-301-10/+11
|\
| * parse-options: simplify positivation handlingRené Scharfe2024-01-221-7/+6
| * parse-options: fully disable option abbreviation with PARSE_OPT_KEEP_UNKNOWNRené Scharfe2024-01-201-3/+5
* | Merge branch 'en/header-cleanup'Junio C Hamano2024-01-081-2/+0
|\ \
| * | treewide: remove unnecessary includes in source filesElijah Newren2023-12-261-2/+0
| |/
* | Merge branch 'jk/end-of-options'Junio C Hamano2023-12-201-2/+7
|\ \
| * | parse-options: decouple "--end-of-options" and "--"Jeff King2023-12-091-2/+7
* | | i18n: factorize even more 'incompatible options' messagesRené Scharfe2023-11-271-1/+2
| |/ |/|
* | parse-options: make CMDMODE errors more preciseRené Scharfe2023-10-291-52/+92
* | parse: separate out parsing functions from config.hCalvin Wan2023-09-301-1/+2
* | parse-options: allow omitting option help textRené Scharfe2023-08-281-3/+4
* | Merge branch 'rs/parse-options-negation-help'Junio C Hamano2023-08-251-19/+50
|\ \
| * | parse-options: simplify usage_padding()René Scharfe2023-08-071-12/+5
| * | parse-options: no --[no-]no-...René Scharfe2023-08-071-1/+24
| * | parse-options: factor out usage_indent() and usage_padding()René Scharfe2023-08-071-15/+24
| * | parse-options: show negatability of options in short helpRené Scharfe2023-08-071-2/+8
* | | parse-options: disallow negating OPTION_SET_INT 0René Scharfe2023-08-091-0/+3
|/ /
* | short help: allow a gap smaller than USAGE_GAPJunio C Hamano2023-07-201-1/+3
* | short help: allow multi-line opthelpJunio C Hamano2023-07-201-1/+11
* | commit.h: reduce unnecessary includesElijah Newren2023-04-241-0/+1
* | 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-261-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-111-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-261-38/+49
|\|