summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES.txt3
-rw-r--r--pyramid/scripts/pcreate.py5
2 files changed, 8 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index c979c4dc1..977503948 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -10,6 +10,9 @@ Features
``@view_config`` decorator that decorates a method of that class. It also
works against view configurations involving a class made imperatively.
+- Added a backwards compatibility knob to ``pcreate`` to emulate ``paster
+ create`` handling for the ``--list-templates`` option.
+
Documentation
-------------
diff --git a/pyramid/scripts/pcreate.py b/pyramid/scripts/pcreate.py
index dacebd6ea..0057402b3 100644
--- a/pyramid/scripts/pcreate.py
+++ b/pyramid/scripts/pcreate.py
@@ -34,6 +34,11 @@ class PCreateCommand(object):
dest='list',
action='store_true',
help="List all available scaffold names")
+ parser.add_option('--list-templates',
+ dest='list',
+ action='store_true',
+ help=("A backwards compatibility alias for -l/--list. "
+ "List all available scaffold names."))
parser.add_option('--simulate',
dest='simulate',
action='store_true',