summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--builtin/worktree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/worktree.c b/builtin/worktree.c
index 71bb770f7a..33d2d3705a 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
};