Skip to content

Commit e6b4ed1

Browse files
authored
Avoid the deprecated .. cmdoption:: directive (#1176)
1 parent 8de1731 commit e6b4ed1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/markup.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,12 +575,12 @@ The directives are:
575575

576576
Describes a Python :term:`bytecode` instruction.
577577

578-
.. describe:: cmdoption
578+
.. describe:: option
579579

580580
Describes a Python command line option or switch. Option argument names
581581
should be enclosed in angle brackets. Example::
582582

583-
.. cmdoption:: -m <module>
583+
.. option:: -m <module>
584584

585585
Run a module as a script.
586586

0 commit comments

Comments
 (0)