Skip to content

Commit 4c68875

Browse files
rctaygitster
authored andcommitted
builtin/checkout: reword hint for -b
Shift the 'new' from the param to the hint, and expand the hint. Signed-off-by: Tay Ray Chuan <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 39ac7a7 commit 4c68875

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builtin/checkout.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,8 @@ int cmd_checkout(int argc, const char **argv, const char *prefix)
657657
int dwim_new_local_branch = 1;
658658
struct option options[] = {
659659
OPT__QUIET(&opts.quiet),
660-
OPT_STRING('b', NULL, &opts.new_branch, "new branch", "branch"),
660+
OPT_STRING('b', NULL, &opts.new_branch, "branch",
661+
"create and checkout a new branch"),
661662
OPT_BOOLEAN('l', NULL, &opts.new_branch_log, "log for new branch"),
662663
OPT_SET_INT('t', "track", &opts.track, "track",
663664
BRANCH_TRACK_EXPLICIT),

0 commit comments

Comments
 (0)