Skip to content

Commit 7830d16

Browse files
author
Katrin Leinweber
committed
Make switch command even more helpful with branch name
1 parent 298a90c commit 7830d16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitless/cli/gl_switch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def main(args, repo):
3030
if not b:
3131
pprint.err('Branch {0} doesn\'t exist'.format(args.branch))
3232
pprint.err_exp('to list existing branches do gl branch')
33-
pprint.err_exp('to create a new branch do gl branch -c feature/foo')
33+
pprint.err_exp('to create a new branch do gl branch -c {0}'.format(args.branch))
3434
return False
3535

3636
repo.switch_current_branch(b, move_over=args.move_over)

0 commit comments

Comments
 (0)