worktree: say that "add" takes an arbitrary commit in short-help

c4738aed ("worktree: add can be created from any commit-ish", 2017-11-26) taught "git worktree add" to start a new worktree with an arbitrary commit-ish checked out, not limited to a tip of a branch. "git worktree --help" was updated to describe this, but we forgot to update "git worktree -h". Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Jan 17, 2018 at 10:32 UTC b780e4407d559e51224dded31e3d90e25191eb08
1 file changed +1 -1
builtin/worktree.c
+1 -1
@@ -14,7 +14,7 @@
14 #include "worktree.h"
15
16 static const char * const worktree_usage[] = {
17 - N_("git worktree add [<options>] <path> [<branch>]"),
17 + N_("git worktree add [<options>] <path> [<commit-ish>]"),
18 N_("git worktree list [<options>]"),
19 N_("git worktree lock [<options>] <path>"),
20 N_("git worktree prune [<options>]"),