Skip to content
Myr

Merge pull request #1169 from Alphare/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Draw attention to an easy mistake to make

authored by David Lord · committed by GitHub · parents a594606, 733f5d9 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/commands.rst+1 added-1 removed
25 unmodified lines
26 @click.option('--debug/--no-debug', default=False)27 def cli(debug):28 click.echo('Debug mode is %s' % ('on' if debug else 'off'))2930 @cli.command()30 @cli.command() # @cli, not @click!31 def sync():32 click.echo('Syncing')3334Here is what this looks like:
528 unmodified lines