worktree: fix option descriptions for `prune`

The `verbose` and `expire` options of the `git worktree prune` subcommand have wrong descriptions in that they pretend to relate to objects. But as the git-worktree(1) correctly states, these options have nothing to do with objects but only with worktrees. Fix the description accordingly. Signed-off-by: Patrick Steinhardt <patrick.steinhardt@elego.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Patrick Steinhardt committed Feb 6, 2017 at 14:13 UTC 2488dcab22cee343fe35d9951160f0966a45fdb3
1 file changed +2 -2
builtin/worktree.c
+2 -2
@@ -105,9 +105,9 @@ static int prune(int ac, const char **av, const char *prefix)
105 {
106 struct option options[] = {
107 OPT__DRY_RUN(&show_only, N_("do not remove, show only")),
108 - OPT__VERBOSE(&verbose, N_("report pruned objects")),
108 + OPT__VERBOSE(&verbose, N_("report pruned working trees")),
109 OPT_EXPIRY_DATE(0, "expire", &expire,
110 - N_("expire objects older than <time>")),
110 + N_("expire working trees older than <time>")),
111 OPT_END()
112 };
113