Closed mfeif closed 8 years ago
I confirm this. Installing from https://github.com/manolomartinez/greg/commit/9c223ca57f6f1dcae9b4a1bceafe769b7d2c41a2
This happens because argparse is expecting command line arguments but when none are passed func
is empty and it throws an error.
One way to fix is set a default arg when calling greg without any arguments. Maybe...
Yeeeah, that didn't fix it. Ignore that commit.
Nope I was right after all, that commit did fix it. I just found another bug: #43
This is a slightly cleaner way to do it, I reckon.
It is indeed.