]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] Doc: cmdline.rst: Include -P and -R in usage (GH-122590) (#122784)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 7 Aug 2024 15:11:12 +0000 (17:11 +0200)
committerGitHub <noreply@github.com>
Wed, 7 Aug 2024 15:11:12 +0000 (15:11 +0000)
Doc: cmdline.rst: Include -P and -R in usage (GH-122590)

* ``-P``: safe path (https://docs.python.org/3/using/cmdline.htmlGH-cmdoption-P)
* ``-R``: hash randomization (https://docs.python.org/3/using/cmdline.htmlGH-cmdoption-R)
(cherry picked from commit c25898d51e4ec84319b7113d5bf453c6e6519d9c)

Co-authored-by: Wim Jeantine-Glenn <hey@wimglenn.com>
Doc/using/cmdline.rst

index 9567c72d62bd1aa82476d6323299c5160407efe2..d1ca15d3740e3489608bd451abc09551ff2a022c 100644 (file)
@@ -24,7 +24,7 @@ Command line
 
 When invoking Python, you may specify any of these options::
 
-    python [-bBdEhiIOqsSuvVWx?] [-c command | -m module-name | script | - ] [args]
+    python [-bBdEhiIOPqRsSuvVWx?] [-c command | -m module-name | script | - ] [args]
 
 The most common use case is, of course, a simple invocation of a script::