def main(): paser = argparse.ArgumentParser( description= rmlastfile.py ) paser.add_argument( --subdir , required=False, help= locate to logdir ) paser.add_argument( --parentdir , required=False, help= locate to the p...
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 ) ...