summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorPatrick Steinhardt <patrick.steinhardt@elego.de>2017-02-06 13:13:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-02-06 18:59:25 (GMT)
commit2488dcab22cee343fe35d9951160f0966a45fdb3 (patch)
treeeb84c57cb9d015438f893b9b1777356a68fe2e15 /builtin
parent7783eb2e59684492e75068443e1f77f64fe37cc9 (diff)
downloadgit-2488dcab22cee343fe35d9951160f0966a45fdb3.zip
git-2488dcab22cee343fe35d9951160f0966a45fdb3.tar.gz
git-2488dcab22cee343fe35d9951160f0966a45fdb3.tar.bz2
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>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/worktree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/worktree.c b/builtin/worktree.c
index 2a729c6..3c42e8b 100644
--- a/builtin/worktree.c
+++ b/builtin/worktree.c
@@ -105,9 +105,9 @@ static int prune(int ac, const char **av, const char *prefix)
{
struct option options[] = {
OPT__DRY_RUN(&show_only, N_("do not remove, show only")),
- OPT__VERBOSE(&verbose, N_("report pruned objects")),
+ OPT__VERBOSE(&verbose, N_("report pruned working trees")),
OPT_EXPIRY_DATE(0, "expire", &expire,
- N_("expire objects older than <time>")),
+ N_("expire working trees older than <time>")),
OPT_END()
};