Closed briandconnelly closed 10 years ago
This requires Python 2.7 or greater, which are still kind of rare. Hold off on this a bit.
I could write a conditional import of argparse, and use it if it is available. Unfortunately, this would complicate testing.
Yeah, that and the fact that if someone were to add additional command-line arguments, they'd have to make sure they do both implementations.
Python 2.7 seems to becoming much more common (it's included in Lion and recent Ubuntu), so maybe the time to make the switch is soon.
I'm no longer hesitant about requiring Python 2.7. This change has been made and pushed.
Optparse is depricated, so move to argparse.