Skip to content

Commit

Permalink
Improve parser interpret
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolphpienaar committed Apr 29, 2024
1 parent 84b455a commit 4999a4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spleenseg/splparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ 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.
return parser.parse_args()
args = parser.parse_args()
return args
if len(args):
args = parser.parse_args(*args)
else:
Expand Down

0 comments on commit 4999a4d

Please sign in to comment.