summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-10-26 22:55:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-10-26 22:55:21 (GMT)
commit522e2f4515c4157c445fa49ed2a920f19711d5d9 (patch)
treea6fdf41305bd952c002ada65abf6102867cb4832
parent1ad7c0f6896bf0fa0b1b4965d7395b7ba2695fdc (diff)
parentae9f2745bee74ed169f0ca2933b8cc9d21214110 (diff)
downloadgit-522e2f4515c4157c445fa49ed2a920f19711d5d9.zip
git-522e2f4515c4157c445fa49ed2a920f19711d5d9.tar.gz
git-522e2f4515c4157c445fa49ed2a920f19711d5d9.tar.bz2
Merge branch 'es/worktree-add'
* es/worktree-add: worktree: usage: denote <branch> as optional with 'add'
-rw-r--r--builtin/worktree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/worktree.c b/builtin/worktree.c
index 78d2690..d281f6d 100644
--- a/builtin/worktree.c
+++ b/builtin/worktree.c
@@ -12,7 +12,7 @@
#include "worktree.h"
static const char * const worktree_usage[] = {
- N_("git worktree add [<options>] <path> <branch>"),
+ N_("git worktree add [<options>] <path> [<branch>]"),
N_("git worktree prune [<options>]"),
N_("git worktree list [<options>]"),
NULL