Skip to content

Commit

Permalink
Merge pull request #166 from Neradoc/fix-auto
Browse files Browse the repository at this point in the history
Fix auto requiring an argument
  • Loading branch information
dhalbert committed Apr 13, 2023
2 parents fd39347 + aa8ab4e commit 2753e50
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion circup/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1311,7 +1311,9 @@ def list_cli(ctx): # pragma: no cover
help="specify a text file to install all modules listed in the text file."
" Typically requirements.txt.",
)
@click.option("--auto", "-a", help="Install the modules imported in code.py.")
@click.option(
"--auto", "-a", is_flag=True, help="Install the modules imported in code.py."
)
@click.option(
"--auto-file",
default=None,
Expand Down

0 comments on commit 2753e50

Please sign in to comment.