From: Sidhant Sharma Date: Mon, 19 Oct 2015 04:44:53 +0000 (+0530) Subject: worktree: usage: denote as optional with 'add' X-Git-Tag: v2.6.3~15^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/ae9f2745bee74ed169f0ca2933b8cc9d21214110 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 --- 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 };