From 629de472b67bdb6b1fbdc72a95e1f569e3b8f02d Mon Sep 17 00:00:00 2001 From: Michele Ballabio Date: Sun, 23 Mar 2008 21:50:29 +0100 Subject: [PATCH] builtin-prune.c: use parse_options() Using the OPT_DATE() introduced earlier, this updates builtin-prune to use parse_options(). Signed-off-by: Michele Ballabio Signed-off-by: Junio C Hamano --- builtin-prune.c | 38 ++++++++++++++++---------------------- 1 file changed, 16 insertions(+), 22 deletions(-) diff --git a/builtin-prune.c b/builtin-prune.c index bb8ead92c..71caac578 100644 --- a/builtin-prune.c +++ b/builtin-prune.c @@ -4,8 +4,12 @@ #include "revision.h" #include "builtin.h" #include "reachable.h" +#include "parse-options.h" -static const char prune_usage[] = "git-prune [-n]"; +static const char * const prune_usage[] = { + "git-prune [-n] [--expire