Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/manage/list_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,9 @@
LOGGER.debug("Get formatter %s", cmd.format)
formatter = FORMATTERS[cmd.format]
except LookupError:
expect = ", ".join(sorted(FORMATTERS))
raise ArgumentError(f"'{cmd.format}' is not a valid format; expect one of: {expect}") from None
formatters = FORMATTERS.keys() - {"legacy", "legacy-paths"}
expect = ", ".join(sorted(formatters))
raise ArgumentError(f"'{cmd.format}' is not a valid format; expected one of: {expect}") from None

Check warning on line 256 in src/manage/list_command.py

View check run for this annotation

Codecov / codecov/patch

src/manage/list_command.py#L254-L256

Added lines #L254 - L256 were not covered by tests

from .tagutils import tag_or_range, install_matches_any
tags = []
Expand Down