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 1db2417 commit dc6efe1Copy full SHA for dc6efe1
src/manage/list_command.py
@@ -251,7 +251,8 @@ def execute(cmd):
251
LOGGER.debug("Get formatter %s", cmd.format)
252
formatter = FORMATTERS[cmd.format]
253
except LookupError:
254
- expect = ", ".join(sorted(FORMATTERS))
+ formatters = FORMATTERS.keys() - {"legacy", "legacy-paths"}
255
+ expect = ", ".join(sorted(formatters))
256
raise ArgumentError(f"'{cmd.format}' is not a valid format; expect one of: {expect}") from None
257
258
from .tagutils import tag_or_range, install_matches_any
0 commit comments