CleanCut / green

Green is a clean, colorful, fast python test runner.
MIT License
793 stars 75 forks source link

Fix `python setup.py --help-commands` not working #184

Closed althonos closed 6 years ago

althonos commented 6 years ago

With the current green version installed:

python setup.py --help-commands
usage: green [options] [target [target2 ...]]
green: error: unrecognized arguments: --help-commands

This is a mistake of mine, as generating the argument list for green.command.green actually parses the CLI arguments beforehand, and since it does not know --help-commands, the program crashes.

I also changed the description to be more in par with the other tools:

so I changed green description to Run unit tests using green.

CleanCut commented 6 years ago

Thanks!

althonos commented 6 years ago

@CleanCut: I didn't even see there was an issue about this in the issue tracker ! :)

CleanCut commented 6 years ago

No way! I thought you were addressing that specifically because you saw it!

CleanCut commented 6 years ago

Included in 2.12.1 -- just released.