Skip to content

Commit

Permalink
🐛 revert change to list-available arg.
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed May 22, 2024
1 parent 84aa862 commit 49afaaf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ozi/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,8 @@
'-l',
'--list-available',
help=list_available.__doc__,
default=lambda: None,
const=list_available,
action='store_const',
default=None,
action='store',
choices={i.name.replace('_', '-') for i in fields(ExactMatch) if i.repr},
)

Expand All @@ -106,7 +105,8 @@ def main() -> None: # pragma: no cover
ozi.version()
ozi.check_version()
ozi.info()
ozi.list_available()
if ozi.list_available:
list_available(ozi.list_available)
ozi.check_license_expr()
ozi.fix()
ozi.new()
Expand Down

0 comments on commit 49afaaf

Please sign in to comment.