diff options
| author | Chris McDonough <chrism@plope.com> | 2011-12-03 18:07:05 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-12-03 18:07:05 -0500 |
| commit | d83396604337a1f3a09319ba7d37baeb67f50c8a (patch) | |
| tree | 9309c59387894e526a1357e1826d42b435910fb5 | |
| parent | 735df7f3b62a831c9fb7d44872027a5c4d0eb328 (diff) | |
| download | pyramid-d83396604337a1f3a09319ba7d37baeb67f50c8a.tar.gz pyramid-d83396604337a1f3a09319ba7d37baeb67f50c8a.tar.bz2 pyramid-d83396604337a1f3a09319ba7d37baeb67f50c8a.zip | |
add -t b/c alias for -s/--scaffold
| -rw-r--r-- | pyramid/scripts/pcreate.py | 6 |
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', |
