aboutsummaryrefslogtreecommitdiffstats
path: root/t/t0040-parse-options.sh (follow)
AgeCommit message (Expand)AuthorFilesLines
2025-04-17parse-options: introduce precision handling for `OPTION_UNSIGNED`Patrick Steinhardt1-1/+17
2025-04-17parse-options: introduce precision handling for `OPTION_INTEGER`Patrick Steinhardt1-1/+22
2025-04-17parse-options: rename `OPT_MAGNITUDE()` to `OPT_UNSIGNED()`Patrick Steinhardt1-25/+25
2025-04-17parse-options: support unit factors in `OPT_INTEGER()`Patrick Steinhardt1-1/+3
2024-11-21t: remove TEST_PASSES_SANITIZE_LEAK annotationsPatrick Steinhardt1-1/+0
2024-05-06parse-options-cb: only abbreviate hashes when hash algo is knownPatrick Steinhardt1-0/+17
2024-03-03parse-options: recognize abbreviated negated option with argRené Scharfe1-0/+16
2023-11-27i18n: factorize even more 'incompatible options' messagesRené Scharfe1-4/+4
2023-11-08Merge branch 'jc/test-i18ngrep'Junio C Hamano1-12/+12
2023-11-02tests: teach callers of test_i18ngrep to use test_grepJunio C Hamano1-2/+2
2023-10-29parse-options: make CMDMODE errors more preciseRené Scharfe1-5/+28
2023-08-06parse-options: no --[no-]no-...René Scharfe1-1/+2
2023-08-06parse-options: show negatability of options in short helpRené Scharfe1-20/+25
2023-07-19short help: allow a gap smaller than USAGE_GAPJunio C Hamano1-2/+1
2023-07-19short help: allow multi-line opthelpJunio C Hamano1-0/+2
2022-11-09config: require at least one digit when parsing numbersPhillip Wood1-0/+7
2022-11-09git_parse_unsigned: reject negative valuesPhillip Wood1-0/+5
2022-09-07t0040-parse-options: remove leftover debuggingSZEDER Gábor1-2/+0
2022-08-19parse-options: add support for parsing subcommandsSZEDER Gábor1-0/+185
2022-08-19parse-options: PARSE_OPT_KEEP_UNKNOWN only applies to --optionsSZEDER Gábor1-4/+4
2022-08-19t0040-parse-options: test parse_options() with various 'parse_opt_flags'SZEDER Gábor1-0/+70
2021-10-25Merge branch 'ab/mark-leak-free-tests-more'Junio C Hamano1-0/+1
2021-10-08parse-options tests: test optname() outputÆvar Arnfjörð Bjarmason1-3/+39
2021-10-07tests: fix a memory leak in test-parse-options.cÆvar Arnfjörð Bjarmason1-0/+1
2021-09-12parse-options API: remove OPTION_ARGUMENT featureÆvar Arnfjörð Bjarmason1-5/+0
2021-02-10tests: remove most uses of test_i18ncmpÆvar Arnfjörð Bjarmason1-4/+4
2020-08-14messages: avoid SHA-1 in end-user facing messagesJunio C Hamano1-1/+1
2020-03-16parse-options: teach "git cmd -h" to show alias as aliasJunio C Hamano1-1/+1
2020-03-09Merge branch 'pb/am-show-current-patch'Junio C Hamano1-0/+18
2020-02-20parse-options: add testcases for OPT_CMDMODE()Paolo Bonzini1-0/+18
2020-02-05parse-options: lose an unnecessary space in an error messageJacques Bodin-Hullin1-2/+2
2019-08-06parse-options: allow --end-of-options as a synonym for "--"Jeff King1-0/+7
2019-05-07parse-options: don't emit "ambiguous option" for aliasesNguyễn Thái Ngọc Duy1-0/+17
2019-04-15tests: disallow the use of abbreviated options (by default)Johannes Schindelin1-1/+13
2019-01-04Merge branch 'nd/i18n'Junio C Hamano1-2/+2
2018-11-12parse-options.c: mark more strings for translationNguyễn Thái Ngọc Duy1-2/+2
2018-11-06parse-options: drop OPT_DATE()Jeff King1-22/+0
2018-09-11t/helper: merge test-parse-options into test-toolNguyễn Thái Ngọc Duy1-35/+35
2018-08-21tests: use 'test_must_be_empty' instead of 'test_cmp <empty> <out>'SZEDER Gábor1-3/+1
2018-03-22parse-options: do not show usage upon invalid option valuePaul-Sebastian Ungureanu1-1/+1
2017-09-25parse-options: write blank line to correct output streamBrandon Casey1-3/+3
2017-09-25t0040,t1502: Demonstrate parse_options bugsBrandon Casey1-3/+5
2016-10-17t0040: convert all possible tests to use `test-parse-options --expect`Pranit Bauva1-170/+13
2016-05-10t0040: convert a few tests to use test-parse-options --expectJunio C Hamano1-18/+2
2016-05-10t0040: remove unused test helpersJunio C Hamano1-24/+0
2016-05-10test-parse-options: --expect=<string> option to simplify testsJunio C Hamano1-0/+1
2016-05-10test-parse-options: fix output when callback option failsJunio C Hamano1-3/+1
2016-05-05parse-options.c: make OPTION_COUNTUP respect "unspecified" valuesPranit Bauva1-14/+14
2016-05-05t0040-parse-options: improve test coveragePranit Bauva1-0/+114
2016-04-19test-parse-options: print quiet as integerPranit Bauva1-13/+13