From 63b75e14aa2a4eca92d171924dbe47a686d085c5 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Tue, 3 Oct 2023 20:15:38 +0300 Subject: [PATCH] Avoid the deprecated .. cmdoption:: directive --- documentation/markup.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/markup.rst b/documentation/markup.rst index 0a0d51a634..ade1df3a71 100644 --- a/documentation/markup.rst +++ b/documentation/markup.rst @@ -575,12 +575,12 @@ The directives are: Describes a Python :term:`bytecode` instruction. -.. describe:: cmdoption +.. describe:: option Describes a Python command line option or switch. Option argument names should be enclosed in angle brackets. Example:: - .. cmdoption:: -m + .. option:: -m Run a module as a script.