]> git.ipfire.org Git - thirdparty/git.git/commitdiff
worktree: fix option descriptions for `prune`
authorPatrick Steinhardt <patrick.steinhardt@elego.de>
Mon, 6 Feb 2017 13:13:59 +0000 (14:13 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Feb 2017 18:59:25 +0000 (10:59 -0800)
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>
builtin/worktree.c

index 2a729c661cd3747ee345c8491dfc8ff540ee9c0f..3c42e8b65727563c97e6d55f32c5a45e8c16aad5 100644 (file)
@@ -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()
        };