mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #1967 from eolo999/master
Document ``cmdoption`` directive deprecation
This commit is contained in:
commit
f53fb63627
@ -696,6 +696,8 @@ There is a set of directives allowing documenting command-line programs:
|
|||||||
referencable by :rst:role:`option` (in the example case, you'd use something
|
referencable by :rst:role:`option` (in the example case, you'd use something
|
||||||
like ``:option:`dest_dir```, ``:option:`-m```, or ``:option:`--module```).
|
like ``:option:`dest_dir```, ``:option:`-m```, or ``:option:`--module```).
|
||||||
|
|
||||||
|
``cmdoption`` directive is a deprecated alias for the ``option`` directive.
|
||||||
|
|
||||||
.. rst:directive:: .. envvar:: name
|
.. rst:directive:: .. envvar:: name
|
||||||
|
|
||||||
Describes an environment variable that the documented code or program uses or
|
Describes an environment variable that the documented code or program uses or
|
||||||
|
Loading…
Reference in New Issue
Block a user