From 28e5b03f6eca492e486ccd40727522c5586477dd Mon Sep 17 00:00:00 2001 From: Rudolph Pienaar Date: Mon, 29 Apr 2024 12:34:46 -0400 Subject: [PATCH] Use parser_known_args --- spleenseg/splparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spleenseg/splparser.py b/spleenseg/splparser.py index 2f27f2b..525980c 100644 --- a/spleenseg/splparser.py +++ b/spleenseg/splparser.py @@ -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)