diff options
author | Marat Radchenko <marat@slonopotamus.org> | 2014-03-30 15:08:23 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-31 13:01:19 -0700 |
commit | 20d1c6528c76242581e89c271679d35884d916dc (patch) | |
tree | f79c13d34079feef54f3f7cfdd86af2be7d610f6 /Documentation | |
parent | parse-options: add cast to correct pointer type to OPT_SET_PTR (diff) | |
download | tgif-20d1c6528c76242581e89c271679d35884d916dc.tar.xz |
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')
-rw-r--r-- | Documentation/technical/api-parse-options.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Documentation/technical/api-parse-options.txt b/Documentation/technical/api-parse-options.txt index be50cf4de3..1f2db31312 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`. |