From e6b4ed1fa1e9ff1430510dc20bd36b9bcc8bbd67 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Tue, 3 Oct 2023 11:32:35 -0600 Subject: [PATCH] Avoid the deprecated .. cmdoption:: directive (#1176) --- 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.