Skip to content

Commit

Permalink
show default value in help output
Browse files Browse the repository at this point in the history
  • Loading branch information
n8pease committed Oct 8, 2020
1 parent eb2bb16 commit 80e30ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/lsst/daf/butler/cli/cmd/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ def remove_dataset_type(*args, **kwargs):
expression and must not contain wildcards."""))
@click.option("--components",
type=click.Choice(["ALL", "NONE", "UNMATCHED"], case_sensitive=False),
default="unmatched",
default="UNMATCHED",
show_default=True,
metavar="[ALL|NONE|UNMATCHED]",
callback=to_upper,
help=unwrap("""If UNMATCHED: apply patterns to components only if their parent datasets were not
Expand Down

0 comments on commit 80e30ee

Please sign in to comment.