Skip to content

Commit

Permalink
🔨📝 fix --list-available doc presentation.
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed May 23, 2024
1 parent b47d6a9 commit 1c48693
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ozi/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@
tox -e lint run formatting, linting, and typechecking.
tox -e test run testing and coverage.
tox -e dist run distribution and packaging.
METADATA_FIELD choices:
audience
environment
framework
language
license
license-exception-id
license-id
status
topic
""" # pragma: no cover
from __future__ import annotations # pragma: no cover

Expand Down Expand Up @@ -94,6 +105,7 @@
'--list-available',
help=list_available.__doc__,
default=None,
metavar='METADATA_FIELD',
action='store',
choices={i.name.replace('_', '-') for i in fields(ExactMatch) if i.repr},
)
Expand Down

0 comments on commit 1c48693

Please sign in to comment.