summaryrefslogtreecommitdiff
path: root/pyramid/scripts/pserve.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyramid/scripts/pserve.py')
-rw-r--r--pyramid/scripts/pserve.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyramid/scripts/pserve.py b/pyramid/scripts/pserve.py
index 3816e7c75..51cdd235a 100644
--- a/pyramid/scripts/pserve.py
+++ b/pyramid/scripts/pserve.py
@@ -104,7 +104,7 @@ class PServeCommand(object):
help='The URI to the configuration file.',
)
parser.add_argument(
- 'config_args',
+ 'config_vars',
nargs='*',
default=(),
help='Arbitrary options to override those in the [app:main] section '
@@ -128,8 +128,8 @@ class PServeCommand(object):
if self.args.verbose > 0:
print(msg)
- def get_config_args(self):
- restvars = self.args.config_args
+ def get_config_vars(self):
+ restvars = self.args.config_vars
return parse_vars(restvars)
def pserve_file_config(self, filename, global_conf=None):
@@ -164,7 +164,7 @@ class PServeCommand(object):
return 2
app_spec = self.args.config_uri
- vars = self.get_config_args()
+ vars = self.get_config_vars()
app_name = self.args.app_name
base = os.getcwd()