summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-12-03 18:07:05 -0500
committerChris McDonough <chrism@plope.com>2011-12-03 18:07:05 -0500
commitd83396604337a1f3a09319ba7d37baeb67f50c8a (patch)
tree9309c59387894e526a1357e1826d42b435910fb5
parent735df7f3b62a831c9fb7d44872027a5c4d0eb328 (diff)
downloadpyramid-d83396604337a1f3a09319ba7d37baeb67f50c8a.tar.gz
pyramid-d83396604337a1f3a09319ba7d37baeb67f50c8a.tar.bz2
pyramid-d83396604337a1f3a09319ba7d37baeb67f50c8a.zip
add -t b/c alias for -s/--scaffold
-rw-r--r--pyramid/scripts/pcreate.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pyramid/scripts/pcreate.py b/pyramid/scripts/pcreate.py
index f559e4f17..dacebd6ea 100644
--- a/pyramid/scripts/pcreate.py
+++ b/pyramid/scripts/pcreate.py
@@ -24,6 +24,12 @@ class PCreateCommand(object):
action='append',
help=("Add a scaffold to the create process "
"(multiple -s args accepted)"))
+ parser.add_option('-t', '--template',
+ dest='scaffold_name',
+ action='append',
+ help=('A backwards compatibility alias for '
+ '-s/--scaffold. Add a scaffold to the '
+ 'create process (multiple -t args accepted)'))
parser.add_option('-l', '--list',
dest='list',
action='store_true',