Re: [PATCH] parse-options: deprecate OPT_DATE

2018-11-05 Thread Jeff King
On Mon, Nov 05, 2018 at 10:34:02AM -0800, Carlo Marcelo Arenas Belón wrote:

> Signed-off-by: Carlo Marcelo Arenas Belón 
> ---
>  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, _t_var, description)`::
> - Introduce an option with date argument, see `approxidate()`.
> - The timestamp is put into `timestamp_t_var`.
> -
>  `OPT_EXPIRY_DATE(short, long, _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


[PATCH] parse-options: deprecate OPT_DATE

2018-11-05 Thread Carlo Marcelo Arenas Belón
Signed-off-by: Carlo Marcelo Arenas Belón 
---
 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, _t_var, description)`::
-   Introduce an option with date argument, see `approxidate()`.
-   The timestamp is put into `timestamp_t_var`.
-
 `OPT_EXPIRY_DATE(short, long, _t_var, description)`::
Introduce an option with expiry date argument, see 
`parse_expiry_date()`.
The timestamp is put into `timestamp_t_var`.
-- 
2.19.1.816.gcd69ec8cd