summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-11-04 22:20:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-11-04 22:20:44 (GMT)
commitd091031ce2d6bf8a8e9bc4d16acf426449c62a68 (patch)
treeeaaa4454d2b6ffc95216a76e90e152ac4690b1ac /builtin
parentfdca2bed90a7991f2a3afc6a463e45acb03487ac (diff)
parentae9f2745bee74ed169f0ca2933b8cc9d21214110 (diff)
downloadgit-d091031ce2d6bf8a8e9bc4d16acf426449c62a68.zip
git-d091031ce2d6bf8a8e9bc4d16acf426449c62a68.tar.gz
git-d091031ce2d6bf8a8e9bc4d16acf426449c62a68.tar.bz2
Merge branch 'es/worktree-add' into maint
* es/worktree-add: worktree: usage: denote <branch> as optional with 'add'
Diffstat (limited to 'builtin')
-rw-r--r--builtin/worktree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/worktree.c b/builtin/worktree.c
index 71bb770..33d2d37 100644
--- a/builtin/worktree.c
+++ b/builtin/worktree.c
@@ -10,7 +10,7 @@
#include "refs.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>]"),
NULL
};