summaryrefslogtreecommitdiff
path: root/t/helper
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-09-23 13:44:48 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-23 13:44:48 -0700
commit0e35107e7dde88a8d53a98773afbbbd23cd694ae (patch)
tree87d23d4283a3e80eb79ac62e09067607eeeea17e /t/helper
parentMerge branch 'mr/bisect-in-c-4' (diff)
parentparse-options API: remove OPTION_ARGUMENT feature (diff)
downloadtgif-0e35107e7dde88a8d53a98773afbbbd23cd694ae.tar.xz
Merge branch 'ab/retire-option-argument'
An oddball OPTION_ARGUMENT feature has been removed from the parse-options API. * ab/retire-option-argument: parse-options API: remove OPTION_ARGUMENT feature difftool: use run_command() API in run_file_diff() difftool: prepare "diff" cmdline in cmd_difftool() difftool: prepare "struct child_process" in cmd_difftool()
Diffstat (limited to 't/helper')
-rw-r--r--t/helper/test-parse-options.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/t/helper/test-parse-options.c b/t/helper/test-parse-options.c
index 2051ce57db..a282b6ff13 100644
--- a/t/helper/test-parse-options.c
+++ b/t/helper/test-parse-options.c
@@ -134,7 +134,6 @@ int cmd__parse_options(int argc, const char **argv)
OPT_NOOP_NOARG(0, "obsolete"),
OPT_STRING_LIST(0, "list", &list, "str", "add str to list"),
OPT_GROUP("Magic arguments"),
- OPT_ARGUMENT("quux", NULL, "means --quux"),
OPT_NUMBER_CALLBACK(&integer, "set integer to NUM",
number_callback),
{ OPTION_COUNTUP, '+', NULL, &boolean, NULL, "same as -b",