From 20d1c6528c76242581e89c271679d35884d916dc Mon Sep 17 00:00:00 2001 From: Marat Radchenko Date: Sun, 30 Mar 2014 15:08:23 +0400 Subject: 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 --- Documentation/technical/api-parse-options.txt | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Documentation/technical') 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`. -- cgit v1.2.3