Skip to content

Commit 743a9e2

Browse files
committed
revert MODEL nargs bugfix
Signed-off-by: Ian Eaves <ian.k.eaves@gmail.com>
1 parent fb487ed commit 743a9e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ramalama/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1711,7 +1711,7 @@ def inspect_parser(subparsers):
17111711
help="display specific metadata field of AI Model",
17121712
)
17131713
parser.add_argument("--json", dest="json", action="store_true", help="display AI Model information in JSON format")
1714-
parser.add_argument("MODEL", completer=local_models) # positional argument
1714+
parser.add_argument("MODEL", nargs="?", completer=local_models) # positional argument
17151715
parser.set_defaults(func=inspect_cli)
17161716

17171717

0 commit comments

Comments
 (0)