actually use argv argument

This commit is contained in:
NotAFile 2021-09-29 18:07:07 +02:00
parent 0fc052efe0
commit b7e7ab2336
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ def split_commands(tokens):
def main():
command = sys.argv[1] if len(sys.argv) > 1 else INPUTCMD
oneliner = shlex.shlex(INPUTCMD, posix=True, punctuation_chars=True)
oneliner = shlex.shlex(command, posix=True, punctuation_chars=True)
stages = []
last_stage = None