Skip to content

Commit

Permalink
cli: explicitly set show_envvar=False for --provider
Browse files Browse the repository at this point in the history
It is false by default, but specify anyways for clarity
(and defensively in case of upstream changes in defaults).

Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
  • Loading branch information
Chris Patterson authored and sergiusens committed Nov 11, 2019
1 parent 9116c57 commit 31012eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions snapcraft/cli/_options.py
Expand Up @@ -83,6 +83,7 @@ def prompt_for_value(self, ctx):
dict(
param_decls="--provider",
envvar="SNAPCRAFT_BUILD_ENVIRONMENT",
show_envvar=False,
help="Build provider to use.",
metavar="[{}]".format("|".join(_SUPPORTED_PROVIDERS)),
type=click.Choice(_SUPPORTED_PROVIDERS + _HIDDEN_PROVIDERS),
Expand Down

0 comments on commit 31012eb

Please sign in to comment.