mirror of https://github.com/python/cpython
Document new "cmdoption" directive.
This commit is contained in:
parent
ff27e0cd10
commit
dd197e95c7
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue