summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/using/cmdline.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 0199f9f..d458ddb 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -118,6 +118,8 @@ source.
.. versionchanged:: 2.7
Supply the package name to run a ``__main__`` submodule.
+ sys.argv[0] is now set to ``"-m"`` while searching for the module
+ (it was previously incorrectly set to ``"-c"``)
.. describe:: -