diff options
| author | Chris McDonough <chrism@plope.com> | 2011-07-10 00:09:29 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-07-10 00:09:29 -0400 |
| commit | b45a60617e1f7e89289acf8d1df921696fa3e0a0 (patch) | |
| tree | 3070ee582ae360fd5da363f0404acac4b212746d /docs/narr/urldispatch.rst | |
| parent | 8cad6080cda9a72902333a70c20b58c5ea02226c (diff) | |
| parent | 9e7162eb7f584e8afdbc2f04846d0d7e1fcf676c (diff) | |
| download | pyramid-b45a60617e1f7e89289acf8d1df921696fa3e0a0.tar.gz pyramid-b45a60617e1f7e89289acf8d1df921696fa3e0a0.tar.bz2 pyramid-b45a60617e1f7e89289acf8d1df921696fa3e0a0.zip | |
Merge branch 'feature.pshell' of https://github.com/mmerickel/pyramid into mmerickel-feature.pshell
Diffstat (limited to 'docs/narr/urldispatch.rst')
| -rw-r--r-- | docs/narr/urldispatch.rst | 9 |
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> |
