Document new "cmdoption" directive.

This commit is contained in:
Georg Brandl 2007-10-20 13:36:24 +00:00
parent ff27e0cd10
commit dd197e95c7
1 changed files with 8 additions and 0 deletions

View File

@ -212,6 +212,14 @@ The directives are:
Describes a Python bytecode instruction.
.. describe:: cmdoption
Describes a command line option or switch. Option argument names should be
enclosed in angle brackets. Example::
.. cmdoption:: -m <module>
Run a module as a script.
There is also a generic version of these directives: