summaryrefslogtreecommitdiff
path: root/Documentation/technical
diff options
context:
space:
mode:
authorMarat Radchenko <marat@slonopotamus.org>2014-03-30 11:08:23 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-03-31 20:01:19 (GMT)
commit20d1c6528c76242581e89c271679d35884d916dc (patch)
treef79c13d34079feef54f3f7cfdd86af2be7d610f6 /Documentation/technical
parent9ff8ff310b71ab79ffb0ecaa004dec65cec31a45 (diff)
downloadgit-20d1c6528c76242581e89c271679d35884d916dc.zip
git-20d1c6528c76242581e89c271679d35884d916dc.tar.gz
git-20d1c6528c76242581e89c271679d35884d916dc.tar.bz2
parse-options: remove unused OPT_SET_PTR
OPT_SET_PTR was never used since its creation at db7244bd (parse-options new features., 2007-11-07). Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical')
-rw-r--r--Documentation/technical/api-parse-options.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/Documentation/technical/api-parse-options.txt b/Documentation/technical/api-parse-options.txt
index be50cf4..1f2db31 100644
--- a/Documentation/technical/api-parse-options.txt
+++ b/Documentation/technical/api-parse-options.txt
@@ -160,10 +160,6 @@ There are some macros to easily define options:
`int_var` is set to `integer` with `--option`, and
reset to zero with `--no-option`.
-`OPT_SET_PTR(short, long, &ptr_var, description, ptr)`::
- Introduce a boolean option.
- If used, set `ptr_var` to `ptr`.
-
`OPT_STRING(short, long, &str_var, arg_str, description)`::
Introduce an option with string argument.
The string argument is put into `str_var`.