diff options
author | 2021-09-23 13:44:48 -0700 | |
---|---|---|
committer | 2021-09-23 13:44:48 -0700 | |
commit | 0e35107e7dde88a8d53a98773afbbbd23cd694ae (patch) | |
tree | 87d23d4283a3e80eb79ac62e09067607eeeea17e /Documentation/technical | |
parent | Merge branch 'mr/bisect-in-c-4' (diff) | |
parent | parse-options API: remove OPTION_ARGUMENT feature (diff) | |
download | tgif-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 'Documentation/technical')
-rw-r--r-- | Documentation/technical/api-parse-options.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Documentation/technical/api-parse-options.txt b/Documentation/technical/api-parse-options.txt index 5a60bbfa7f..acfd5dc1d8 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`. |