summaryrefslogtreecommitdiffstats
path: root/t/t0040-parse-options.sh (follow)
Commit message (Expand)AuthorAgeFilesLines
* t: remove TEST_PASSES_SANITIZE_LEAK annotationsPatrick Steinhardt2024-11-211-1/+0
* parse-options-cb: only abbreviate hashes when hash algo is knownPatrick Steinhardt2024-05-071-0/+17
* parse-options: recognize abbreviated negated option with argRené Scharfe2024-03-031-0/+16
* i18n: factorize even more 'incompatible options' messagesRené Scharfe2023-11-271-4/+4
* Merge branch 'jc/test-i18ngrep'Junio C Hamano2023-11-081-12/+12
|\
| * tests: teach callers of test_i18ngrep to use test_grepJunio C Hamano2023-11-021-2/+2
* | parse-options: make CMDMODE errors more preciseRené Scharfe2023-10-291-5/+28
* | parse-options: no --[no-]no-...René Scharfe2023-08-071-1/+2
* | parse-options: show negatability of options in short helpRené Scharfe2023-08-071-20/+25
|/
* short help: allow a gap smaller than USAGE_GAPJunio C Hamano2023-07-201-2/+1
* short help: allow multi-line opthelpJunio C Hamano2023-07-201-0/+2
* config: require at least one digit when parsing numbersPhillip Wood2022-11-101-0/+7
* git_parse_unsigned: reject negative valuesPhillip Wood2022-11-101-0/+5
* t0040-parse-options: remove leftover debuggingSZEDER Gábor2022-09-071-2/+0
* parse-options: add support for parsing subcommandsSZEDER Gábor2022-08-191-0/+185
* parse-options: PARSE_OPT_KEEP_UNKNOWN only applies to --optionsSZEDER Gábor2022-08-191-4/+4
* t0040-parse-options: test parse_options() with various 'parse_opt_flags'SZEDER Gábor2022-08-191-0/+70
* Merge branch 'ab/mark-leak-free-tests-more'Junio C Hamano2021-10-261-0/+1
|\
| * tests: fix a memory leak in test-parse-options.cÆvar Arnfjörð Bjarmason2021-10-081-0/+1
* | parse-options tests: test optname() outputÆvar Arnfjörð Bjarmason2021-10-081-3/+39
|/
* parse-options API: remove OPTION_ARGUMENT featureÆvar Arnfjörð Bjarmason2021-09-131-5/+0
* tests: remove most uses of test_i18ncmpÆvar Arnfjörð Bjarmason2021-02-111-4/+4
* messages: avoid SHA-1 in end-user facing messagesJunio C Hamano2020-08-141-1/+1
* parse-options: teach "git cmd -h" to show alias as aliasJunio C Hamano2020-03-161-1/+1
* Merge branch 'pb/am-show-current-patch'Junio C Hamano2020-03-091-0/+18
|\
| * parse-options: add testcases for OPT_CMDMODE()Paolo Bonzini2020-02-201-0/+18
* | parse-options: lose an unnecessary space in an error messageJacques Bodin-Hullin2020-02-051-2/+2
|/
* parse-options: allow --end-of-options as a synonym for "--"Jeff King2019-08-061-0/+7
* parse-options: don't emit "ambiguous option" for aliasesNguyễn Thái Ngọc Duy2019-05-071-0/+17
* tests: disallow the use of abbreviated options (by default)Johannes Schindelin2019-04-151-1/+13
* Merge branch 'nd/i18n'Junio C Hamano2019-01-041-2/+2
|\
| * parse-options.c: mark more strings for translationNguyễn Thái Ngọc Duy2018-11-121-2/+2
* | parse-options: drop OPT_DATE()Jeff King2018-11-061-22/+0
|/
* t/helper: merge test-parse-options into test-toolNguyễn Thái Ngọc Duy2018-09-111-35/+35
* tests: use 'test_must_be_empty' instead of 'test_cmp <empty> <out>'SZEDER Gábor2018-08-211-3/+1
* parse-options: do not show usage upon invalid option valuePaul-Sebastian Ungureanu2018-03-221-1/+1
* parse-options: write blank line to correct output streamBrandon Casey2017-09-251-3/+3
* t0040,t1502: Demonstrate parse_options bugsBrandon Casey2017-09-251-3/+5
* t0040: convert all possible tests to use `test-parse-options --expect`Pranit Bauva2016-10-171-170/+13
* t0040: convert a few tests to use test-parse-options --expectJunio C Hamano2016-05-101-18/+2
* t0040: remove unused test helpersJunio C Hamano2016-05-101-24/+0
* test-parse-options: --expect=<string> option to simplify testsJunio C Hamano2016-05-101-0/+1
* test-parse-options: fix output when callback option failsJunio C Hamano2016-05-101-3/+1
* parse-options.c: make OPTION_COUNTUP respect "unspecified" valuesPranit Bauva2016-05-051-14/+14
* t0040-parse-options: improve test coveragePranit Bauva2016-05-051-0/+114
* test-parse-options: print quiet as integerPranit Bauva2016-04-201-13/+13
* t0040-test-parse-options.sh: fix style issuesPranit Bauva2016-04-201-38/+38
* parse-options: move unsigned long option parsing out of pack-objects.cCharles Bailey2015-06-231-5/+40
* test-parse-options: update to handle negative intsCharles Bailey2015-06-231-0/+2
* t: use test_expect_code instead of hand-rolled comparisonJeff King2015-03-201-8/+4