@matheusbsbs / matheus-bagliano / commits / 4c6887516c
Fork 0

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 <rctay89@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Tay Ray Chuan committed Jun 24, 2010 at 03:28 UTC 4c6887516c60dbbe42390b17a379a85d66919082
1 file changed +2 -1
builtin/checkout.c
+2 -1
@@ -657,7 +657,8 @@ int cmd_checkout(int argc, const char **argv, const char *prefix)
657 int dwim_new_local_branch = 1;
658 struct option options[] = {
659 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"),
662 OPT_BOOLEAN('l', NULL, &opts.new_branch_log, "log for new branch"),
663 OPT_SET_INT('t', "track", &opts.track, "track",
664 BRANCH_TRACK_EXPLICIT),