argparse displays help when using [- h] and then exits. How can I not quit the interface and wait for the next input?
while True:
    cmd = input(">>>")
    parser = argparse.ArgumentParser()
    parser.add_argument("-f", help="foo")
    parser.parse_args(cmd.split())
when entering [- h] like this:
>>>-h
usage: test.py [-h] [-f F]
optional arguments:
  -h, --help  show this help message and exit
  -f F        foo
The program is over. Now I only need "show this help message"," instead of "exit",". What can I do? Thank you!
