From ae9f2745bee74ed169f0ca2933b8cc9d21214110 Mon Sep 17 00:00:00 2001 From: Sidhant Sharma Date: Mon, 19 Oct 2015 10:14:53 +0530 Subject: worktree: usage: denote as optional with 'add' Although 1eb07d8 (worktree: add: auto-vivify new branch when is omitted, 2015-07-06) updated the documentation when became optional, it neglected to update the in-code usage message. Fix this oversight. Reported-by: ch3cooli@gmail.com Signed-off-by: Sidhant Sharma Helped-by: Eric Sunshine Signed-off-by: Junio C Hamano --- builtin/worktree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin/worktree.c') diff --git a/builtin/worktree.c b/builtin/worktree.c index 69248ba0a3..8d85a8bc11 100644 --- a/builtin/worktree.c +++ b/builtin/worktree.c @@ -7,7 +7,7 @@ #include "sigchain.h" static const char * const worktree_usage[] = { - N_("git worktree add [] "), + N_("git worktree add [] []"), N_("git worktree prune []"), NULL }; -- cgit v1.2.3