Skip to content

Commit

Permalink
Fix documentation for default value of --shell
Browse files Browse the repository at this point in the history
closes #43
  • Loading branch information
sloria committed May 23, 2018
1 parent 362e697 commit 7a040be
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doitlive/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,11 @@ def completion():
default=False, show_default=False)

SHELL_OPTION = click.option('--shell', '-S', metavar='<shell>',
default=get_default_shell, help='The shell to use.',
show_default=True)
default=get_default_shell, help=(
'The shell to use. '
'[default: $DOITLIVE_INTERPRETER or $SHELL or /bin/bash]'
),
show_default=False)

SPEED_OPTION = click.option('--speed', '-s', metavar='<int>', type=click.IntRange(1),
default=1, help='Typing speed.', show_default=True)
Expand Down

0 comments on commit 7a040be

Please sign in to comment.