BUG/FEATURE REQUEST: "Param" does not support spaces #758
Open
Description
The test script:
from argparse import ArgumentParser
def parse_args():
parser = ArgumentParser()
parser.add_argument("--extra_label", nargs=2, action="append", metavar=("LABEL_NAME", "LABEL_VALUE"))
return parser.parse_args()
args = parse_args()
print(args.extra_label)
When I copy paste the command that was supposed run in the "HISTORY" menu, it runs successfully:
The suspected reason for error, is that there can't be spaces in the command ("result"). E.g. when I added the two lines that are commented below, it would work (and commenting out the original append option_name line).