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>
This commit is contained in:
Marat Radchenko
2014-03-30 15:08:23 +04:00
committed by Junio C Hamano
parent 9ff8ff310b
commit 20d1c6528c
5 changed files with 4 additions and 19 deletions

View File

@ -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`.