Skip to content

Commit

Permalink
Use parser_known_args
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolphpienaar committed Apr 29, 2024
1 parent 9596f69 commit 28e5b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spleenseg/splparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def parser_interpret(parser, *args, **kwargs):
# and the CLI sys.argv is that of the parent app
# not spleenseg. Interpret the passwd parser and
# return.
args = parser.parse_args()
args, unknown = parser.parse_known_args()
return args
if len(args):
args = parser.parse_args(*args)
Expand Down

0 comments on commit 28e5b03

Please sign in to comment.