summaryrefslogtreecommitdiffstats
path: root/Doc/distutils/setupscript.rst
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-10-30 04:20:17 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-10-30 04:20:17 (GMT)
commit5c6793394066b012b9674681b0815667938ce4d9 (patch)
treed509384329f92ba096f11629e3e46cc575822d61 /Doc/distutils/setupscript.rst
parent62fe1bb983084c74fd8e7028412d0130a14568f3 (diff)
downloadcpython-5c6793394066b012b9674681b0815667938ce4d9.zip
cpython-5c6793394066b012b9674681b0815667938ce4d9.tar.gz
cpython-5c6793394066b012b9674681b0815667938ce4d9.tar.bz2
Issue #26638: Mask undefined CLI options to defeat new Sphinx warnings
Diffstat (limited to 'Doc/distutils/setupscript.rst')
-rw-r--r--Doc/distutils/setupscript.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/distutils/setupscript.rst b/Doc/distutils/setupscript.rst
index 914a34f..9c4a9d5 100644
--- a/Doc/distutils/setupscript.rst
+++ b/Doc/distutils/setupscript.rst
@@ -446,7 +446,7 @@ command line. Scripts don't require Distutils to do anything very complicated.
The only clever feature is that if the first line of the script starts with
``#!`` and contains the word "python", the Distutils will adjust the first line
to refer to the current interpreter location. By default, it is replaced with
-the current interpreter location. The :option:`--executable` (or :option:`-e`)
+the current interpreter location. The :option:`!--executable` (or :option:`!-e`)
option will allow the interpreter path to be explicitly overridden.
The ``scripts`` option simply is a list of files to be handled in this