optparse example for Python 2.6