summaryrefslogtreecommitdiff
path: root/docs/narr/urldispatch.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2011-07-07 02:02:48 -0500
committerMichael Merickel <michael@merickel.org>2011-07-07 02:02:48 -0500
commit9e7162eb7f584e8afdbc2f04846d0d7e1fcf676c (patch)
treefefd86dc72355126206cd7d8f31c390cca5eb393 /docs/narr/urldispatch.rst
parente8561f919548e2fe17f82d98e2a13e1e4e85bf40 (diff)
downloadpyramid-9e7162eb7f584e8afdbc2f04846d0d7e1fcf676c.tar.gz
pyramid-9e7162eb7f584e8afdbc2f04846d0d7e1fcf676c.tar.bz2
pyramid-9e7162eb7f584e8afdbc2f04846d0d7e1fcf676c.zip
Updated proutes and pviews docs.
Diffstat (limited to 'docs/narr/urldispatch.rst')
-rw-r--r--docs/narr/urldispatch.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/narr/urldispatch.rst b/docs/narr/urldispatch.rst
index f94ed3ba8..51a840b8d 100644
--- a/docs/narr/urldispatch.rst
+++ b/docs/narr/urldispatch.rst
@@ -1084,16 +1084,17 @@ Displaying All Application Routes
You can use the ``paster proutes`` command in a terminal window to print a
summary of routes related to your application. Much like the ``paster
pshell`` command (see :ref:`interactive_shell`), the ``paster proutes``
-command accepts two arguments. The first argument to ``proutes`` is the path
-to your application's ``.ini`` file. The second is the ``app`` section name
-inside the ``.ini`` file which points to your application.
+command accepts one argument with the format ``config_file#section_name``.
+The ``config_file`` is the path to your application's ``.ini`` file,
+and ``section_name`` is the ``app`` section name inside the ``.ini`` file
+which points to your application.
For example:
.. code-block:: text
:linenos:
- [chrism@thinko MyProject]$ ../bin/paster proutes development.ini MyProject
+ [chrism@thinko MyProject]$ ../bin/paster proutes development.ini#MyProject
Name Pattern View
---- ------- ----
home / <function my_view>