diff mbox series

parse-options: deprecate OPT_DATE

Message ID 20181105183402.9927-1-carenas@gmail.com (mailing list archive)
State New, archived
Headers show
Series parse-options: deprecate OPT_DATE | expand

Commit Message

Carlo Marcelo Arenas Belón Nov. 5, 2018, 6:34 p.m. UTC
Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
---
 Documentation/technical/api-parse-options.txt | 4 ----
 1 file changed, 4 deletions(-)

Comments

Jeff King Nov. 5, 2018, 6:49 p.m. UTC | #1
On Mon, Nov 05, 2018 at 10:34:02AM -0800, Carlo Marcelo Arenas Belón wrote:

> Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
> ---
>  Documentation/technical/api-parse-options.txt | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/Documentation/technical/api-parse-options.txt b/Documentation/technical/api-parse-options.txt
> index 829b558110..2b036d7838 100644
> --- a/Documentation/technical/api-parse-options.txt
> +++ b/Documentation/technical/api-parse-options.txt
> @@ -183,10 +183,6 @@ There are some macros to easily define options:
>  	scale the provided value by 1024, 1024^2 or 1024^3 respectively.
>  	The scaled value is put into `unsigned_long_var`.
>  
> -`OPT_DATE(short, long, &timestamp_t_var, description)`::
> -	Introduce an option with date argument, see `approxidate()`.
> -	The timestamp is put into `timestamp_t_var`.
> -
>  `OPT_EXPIRY_DATE(short, long, &timestamp_t_var, description)`::
>  	Introduce an option with expiry date argument, see `parse_expiry_date()`.
>  	The timestamp is put into `timestamp_t_var`.

Thank you! I forgot to check the documentation.

-Peff
diff mbox series

Patch

diff --git a/Documentation/technical/api-parse-options.txt b/Documentation/technical/api-parse-options.txt
index 829b558110..2b036d7838 100644
--- a/Documentation/technical/api-parse-options.txt
+++ b/Documentation/technical/api-parse-options.txt
@@ -183,10 +183,6 @@  There are some macros to easily define options:
 	scale the provided value by 1024, 1024^2 or 1024^3 respectively.
 	The scaled value is put into `unsigned_long_var`.
 
-`OPT_DATE(short, long, &timestamp_t_var, description)`::
-	Introduce an option with date argument, see `approxidate()`.
-	The timestamp is put into `timestamp_t_var`.
-
 `OPT_EXPIRY_DATE(short, long, &timestamp_t_var, description)`::
 	Introduce an option with expiry date argument, see `parse_expiry_date()`.
 	The timestamp is put into `timestamp_t_var`.