aboutsummaryrefslogtreecommitdiffstats
path: root/t/t0040-parse-options.sh
AgeCommit message (Expand)AuthorFilesLines
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
2016-04-19t0040-test-parse-options.sh: fix style issuesPranit Bauva1-38/+38
2015-06-22parse-options: move unsigned long option parsing out of pack-objects.cCharles Bailey1-5/+40
2015-06-22test-parse-options: update to handle negative intsCharles Bailey1-0/+2
2015-03-20t: use test_expect_code instead of hand-rolled comparisonJeff King1-8/+4
2014-03-31parse-options: remove unused OPT_SET_PTRMarat Radchenko1-4/+3
2013-06-09test: test_must_be_empty helperJunio C Hamano1-23/+23
2012-08-27Fix tests under GETTEXT_POISON on parseoptJiang Xin1-5/+29
2012-03-04parse-options: typo check for unknown switchesRené Scharfe1-0/+10
2012-02-26parse-options: allow positivation of options starting, with no-René Scharfe1-1/+1
2012-02-26test-parse-options: convert to OPT_BOOL()René Scharfe1-2/+58
2011-09-28parseopt: add OPT_NOOP_NOARGRené Scharfe1-1/+1
2011-06-22parse-options: add OPT_STRING_LIST helperJeff King1-0/+17
2011-02-15Make <identifier> lowercase as per CodingGuidelinesMichael J Gruber1-1/+1
2010-05-31print the usage string on stdout instead of stderrGiuseppe Scrivano1-3/+5
2009-09-29parse-opt: ignore negation of OPT_NONEG for ambiguity checksAndreas Schwab1-0/+20
2009-05-25parse-opts: add OPT_FILENAME and transition builtinsStephen Boyd1-2/+17
2009-05-09parseopt: add PARSE_OPT_NODASHRené Scharfe1-0/+7
2009-05-09parseopt: add OPT_NUMBER_CALLBACKRené Scharfe1-0/+18
2009-05-09parseopt: add OPT_NEGBITRené Scharfe1-2/+29
2008-07-30Fix test-parse-options "integer" testJunio C Hamano1-1/+10
2008-07-21parse-options: fix segmentation fault when a required value is missingOlivier Marin1-0/+7
2008-06-22Extend parse-options test suiteStephan Beyer1-7/+109
2008-05-24tests: do not use implicit "git diff --no-index"Junio C Hamano1-9/+9
2008-03-02parse-options: new option type to treat an option-like parameter as an argument.Pierre Habouzit1-0/+16
2008-02-01Sane use of test_expect_failureJunio C Hamano1-2/+2
2008-01-26parse-options: catch likely typo in presense of aggregated options.Pierre Habouzit1-0/+11
2007-11-05parse-options: abbreviation engine fix.Johannes Schindelin1-0/+13
2007-10-29parse-options: Allow abbreviated options when unambiguousJohannes Schindelin1-0/+23
2007-10-29Add tests for parse-options.cJohannes Schindelin1-0/+70