summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-09-23 20:44:48 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-09-23 20:44:48 (GMT)
commit0e35107e7dde88a8d53a98773afbbbd23cd694ae (patch)
tree87d23d4283a3e80eb79ac62e09067607eeeea17e /Documentation
parent0a4cb1f1f2f64e5f3791809284ba786a8094dfb4 (diff)
parent4c25356e0edaa92e21aadb67579a0263019fbdc4 (diff)
downloadgit-0e35107e7dde88a8d53a98773afbbbd23cd694ae.zip
git-0e35107e7dde88a8d53a98773afbbbd23cd694ae.tar.gz
git-0e35107e7dde88a8d53a98773afbbbd23cd694ae.tar.bz2
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 'Documentation')
-rw-r--r--Documentation/technical/api-parse-options.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/Documentation/technical/api-parse-options.txt b/Documentation/technical/api-parse-options.txt
index 5a60bbf..acfd5dc 100644
--- a/Documentation/technical/api-parse-options.txt
+++ b/Documentation/technical/api-parse-options.txt
@@ -198,11 +198,6 @@ There are some macros to easily define options:
The filename will be prefixed by passing the filename along with
the prefix argument of `parse_options()` to `prefix_filename()`.
-`OPT_ARGUMENT(long, &int_var, description)`::
- Introduce a long-option argument that will be kept in `argv[]`.
- If this option was seen, `int_var` will be set to one (except
- if a `NULL` pointer was passed).
-
`OPT_NUMBER_CALLBACK(&var, description, func_ptr)`::
Recognize numerical options like -123 and feed the integer as
if it was an argument to the function given by `func_ptr`.