Getting Started
User Guide
Reference
opt2rst()
Convert –help str to rst
This is useful for autodocumenting executable python scripts that show a formatted help.
shelp (str) – Help string showing options (results from :option:--help).
--help
prog (optional, str) – Program name, otherwise guess it from usage.
str – String converted to rst format (with cmdoption directives).
cmdoption