summaryrefslogtreecommitdiff
path: root/builtin/worktree.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-02-15 22:55:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-02-15 22:55:40 (GMT)
commitcc7655a5a3465ccce2c84379721dd1cbdd57faa9 (patch)
treeb83a326ee30e32fa334799ea5166feef9ff4ad9e /builtin/worktree.c
parenta66b51c624d9d8700b57646322d23231d01b9be8 (diff)
parentb780e4407d559e51224dded31e3d90e25191eb08 (diff)
downloadgit-cc7655a5a3465ccce2c84379721dd1cbdd57faa9.zip
git-cc7655a5a3465ccce2c84379721dd1cbdd57faa9.tar.gz
git-cc7655a5a3465ccce2c84379721dd1cbdd57faa9.tar.bz2
Merge branch 'jc/worktree-add-short-help'
Error message fix. * jc/worktree-add-short-help: worktree: say that "add" takes an arbitrary commit in short-help
Diffstat (limited to 'builtin/worktree.c')
-rw-r--r--builtin/worktree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/worktree.c b/builtin/worktree.c
index 7cef5b1..9efdc22 100644
--- a/builtin/worktree.c
+++ b/builtin/worktree.c
@@ -14,7 +14,7 @@
#include "worktree.h"
static const char * const worktree_usage[] = {
- N_("git worktree add [<options>] <path> [<branch>]"),
+ N_("git worktree add [<options>] <path> [<commit-ish>]"),
N_("git worktree list [<options>]"),
N_("git worktree lock [<options>] <path>"),
N_("git worktree prune [<options>]"),