]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-130160: use `option` instead of `cmdoption` in `dis.rst` (#130255)
authorsobolevn <mail@sobolevn.me>
Tue, 18 Feb 2025 12:54:14 +0000 (15:54 +0300)
committerGitHub <noreply@github.com>
Tue, 18 Feb 2025 12:54:14 +0000 (15:54 +0300)
Doc/library/dis.rst

index d914acbbc67076371819e512a76e0d36c220fd4a..e0e7286214ac1131a65506f43c9d64691f1963b2 100644 (file)
@@ -97,23 +97,23 @@ The following options are accepted:
 
 .. program:: dis
 
-.. cmdoption:: -h, --help
+.. option:: -h, --help
 
    Display usage and exit.
 
-.. cmdoption:: -C, --show-caches
+.. option:: -C, --show-caches
 
    Show inline caches.
 
-.. cmdoption:: -O, --show-offsets
+.. option:: -O, --show-offsets
 
    Show offsets of instructions.
 
-.. cmdoption:: -P, --show-positions
+.. option:: -P, --show-positions
 
    Show positions of instructions in the source code.
 
-.. cmdoption:: -S, --specialized
+.. option:: -S, --specialized
 
    Show specialized bytecode.