Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix -h/--help in karoo-gp.py #43

Open
ezio-melotti opened this issue May 13, 2022 · 0 comments
Open

Fix -h/--help in karoo-gp.py #43

ezio-melotti opened this issue May 13, 2022 · 0 comments
Assignees
Labels

Comments

@ezio-melotti
Copy link
Collaborator

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.

@ezio-melotti ezio-melotti self-assigned this May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant