Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Make it clearer what --quote does
  • Loading branch information
Flimm committed Mar 30, 2017
commit 39003879401bbd8d1d131a378c21c685ab6e0bbc
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ update your settings on remote server, handy isn't it!
file in current working directory.
-q, --quote [always|never|auto]
Whether to quote or not the variable values.
Default mode is always.
Default mode is always. This does not affect
parsing.
--help Show this message and exit.

Commands:
Expand Down
2 changes: 1 addition & 1 deletion dotenv/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
help="Location of the .env file, defaults to .env file in current working directory.")
@click.option('-q', '--quote', default='always',
type=click.Choice(['always', 'never', 'auto']),
help="Whether to quote or not the variable values. Default mode is always.")
help="Whether to quote or not the variable values. Default mode is always. This does not affect parsing.")
@click.pass_context
def cli(ctx, file, quote):
'''This script is used to set, get or unset values from a .env file.'''
Expand Down