mgedmin / restview

ReStructuredText viewer
https://pypi.python.org/pypi/restview
GNU General Public License v3.0
214 stars 34 forks source link

Migrate to argparse and support halt-level #44

Closed wks closed 8 years ago

wks commented 8 years ago

optparser is deprecated in Python 2.7, and argparse should be used instead.

The --halt-level option will set the docutils' "halt_level" option, which will give the user finer-grained control. For example, the user may wish to stop processing at level WARNING rather than INFO.

mgedmin commented 8 years ago

Thank you!