summaryrefslogtreecommitdiff
path: root/docs/narr/commandline.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@digitalartefacts.com>2013-10-19 02:04:02 -0500
committerMichael Merickel <michael@digitalartefacts.com>2013-10-19 02:04:02 -0500
commitc137eccf36aed3200592da0b170bc7f3ba1313b6 (patch)
tree3599f91b8c4863613be977ce847e5739b1f34804 /docs/narr/commandline.rst
parent8385569b371a2586acf1680937ca656136c2502c (diff)
parent3acee31f86bcde8abbb4e63715afc5ca67976eaf (diff)
downloadpyramid-c137eccf36aed3200592da0b170bc7f3ba1313b6.tar.gz
pyramid-c137eccf36aed3200592da0b170bc7f3ba1313b6.tar.bz2
pyramid-c137eccf36aed3200592da0b170bc7f3ba1313b6.zip
Merge branch 'master' into feature.signed-cookie-session
Diffstat (limited to 'docs/narr/commandline.rst')
-rw-r--r--docs/narr/commandline.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/narr/commandline.rst b/docs/narr/commandline.rst
index 58b9bdd21..0984b4daf 100644
--- a/docs/narr/commandline.rst
+++ b/docs/narr/commandline.rst
@@ -474,6 +474,17 @@ input of the ``prequest`` process is used as the ``POST`` body::
$ $VENV/bin/prequest -mPOST development.ini / < somefile
+Using Custom Arguments to Python when Running ``p*`` Scripts
+------------------------------------------------------------
+
+.. versionadded:: 1.5
+
+Each of Pyramid's console scripts (``pserve``, ``pviews``, etc) can be run
+directly using ``python -m``, allowing custom arguments to be sent to the
+python interpreter at runtime. For example::
+
+ python -3 -m pyramid.scripts.pserve development.ini
+
Showing All Installed Distributions and their Versions
------------------------------------------------------