kstaats/karoo_gp

Fix `-h/--help` in `karoo-gp.py`

ezio-melotti opened this issue · 0 comments

Currently running karoo-gp.py starts the interactive mode without printing any help. This is because of this line:

if len(sys.argv) < 3: # either no command line argument, or only a filename is provided

This should be refactored to use argparse from the start, and not just in the else to parse the cmd-line args.