Skip to content

Commit

Permalink
Merge pull request #28 from sbidoul/fix-list-co-depends-flags
Browse files Browse the repository at this point in the history
Fix list-codepends boolean flags
  • Loading branch information
sbidoul authored May 13, 2022
2 parents f6684fa + 90f52de commit 0a83a91
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ $ manifestoo list-codepends [OPTIONS]
**Options**:

* `--separator TEXT`: Separator character to use (by default, print one item per line).
* `--transitive`: Print all transitive co-dependencies. [default: True]
* `--include-selected`: Print the selected addons along with their co-dependencies. [default: True]
* `--transitive / --no-transitive`: Print all transitive co-dependencies. [default: True]
* `--include-selected / --no-include-selected`: Print the selected addons along with their co-dependencies. [default: True]
* `--help`: Show this message and exit.

## `manifestoo list-depends`
Expand Down
2 changes: 2 additions & 0 deletions news/28.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Add ``--no-transitive`` and ``--no-include-selected`` options to the ``list-codepends``
so the default values can be switched off.
2 changes: 0 additions & 2 deletions src/manifestoo/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,12 +263,10 @@ def list_codepends(
),
transitive: bool = typer.Option(
True,
"--transitive",
help="Print all transitive co-dependencies.",
),
include_selected: bool = typer.Option(
True,
"--include-selected",
help="Print the selected addons along with their co-dependencies.",
),
) -> None:
Expand Down

0 comments on commit 0a83a91

Please sign in to comment.