We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
py list
1 parent 5acc639 commit c46da6cCopy full SHA for c46da6c
src/manage/list_command.py
@@ -263,8 +263,9 @@ def execute(cmd):
263
LOGGER.debug("Get formatter %s", cmd.format)
264
formatter = FORMATTERS[cmd.format]
265
except LookupError:
266
- expect = ", ".join(sorted(FORMATTERS))
267
- 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))
268
+ raise ArgumentError(f"'{cmd.format}' is not a valid format; expected one of: {expect}") from None
269
270
from .tagutils import tag_or_range, install_matches_any
271
tags = []
0 commit comments