Skip to content

Commit

Permalink
require one or more targets
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanches7 authored Aug 27, 2024
1 parent b4bc1a3 commit ecc9420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/omero_rdf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def _configure(self, parser: Parser) -> None:
parser.add_login_arguments()
rdf_type = ProxyStringType("Image")
rdf_help = "Object to be exported to RDF"
parser.add_argument("target", type=rdf_type, nargs="*", help=rdf_help)
parser.add_argument("target", type=rdf_type, nargs="+", help=rdf_help)
parser.add_argument(
"--pretty",
action="store_true",
Expand Down

0 comments on commit ecc9420

Please sign in to comment.