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 diff --git a/builtin/worktree.c b/builtin/worktree.c index 69248ba..8d85a8b 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 v0.10.2-6-g49f6