mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-11 09:08:32 +02:00
Fix test arg parsing
This commit is contained in:
parent
8e627b01c0
commit
bdfe588a01
1 changed files with 3 additions and 1 deletions
|
@ -18,7 +18,9 @@ def _parse_args(command):
|
|||
nargs = []
|
||||
concats = []
|
||||
for a in command.split()[1:]:
|
||||
if a.startswith("'"):
|
||||
if a.startswith("'") and a.endswith("'"):
|
||||
nargs.append(a.strip("'"))
|
||||
elif a.startswith("'"):
|
||||
concats.append(a.strip("'"))
|
||||
elif a.endswith("'"):
|
||||
concats.append(a.strip("'"))
|
||||
|
|
Loading…
Add table
Reference in a new issue