Skip to content
Myr

Merge pull request #5 from jodal/patch-2

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

Fix SOURCE/SRC envvar mixup

authored by Armin Ronacher · committed by Armin Ronacher · parents 6241146, 0017ad9 · 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/arguments.rst+1 added-1 removed
92 unmodified lines
9394Example usage::9596 @click.command()97 @click.argument('--src', envvar='SOURCE', type=click.File('r'))97 @click.argument('--src', envvar='SRC', type=click.File('r'))98 def echo(src):99 print(src.read())100101 if __name__ == '__main__':
13 unmodified lines