From: Michele Ballabio Date: Sun, 23 Mar 2008 20:50:29 +0000 (+0100) Subject: builtin-prune.c: use parse_options() X-Git-Tag: v1.5.5-rc2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=629de472b67bdb6b1fbdc72a95e1f569e3b8f02d;p=git.git 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 --- 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