From 919632a606e04875161107798af33fed9aa959fb Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Wed, 23 Jan 2013 18:04:32 -0500 Subject: [PATCH] serve prepends the BaseCommand arguments --- pecan/commands/serve.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pecan/commands/serve.py b/pecan/commands/serve.py index d361961..9dd431e 100644 --- a/pecan/commands/serve.py +++ b/pecan/commands/serve.py @@ -17,17 +17,12 @@ class ServeCommand(BaseCommand): configuration file for the server and application. """ - arguments = ({ - 'name': 'config_file', - 'help': 'a Pecan configuration file', - 'nargs': '?', - 'default': None, - }, { + arguments = BaseCommand.arguments + ({ 'name': '--reload', 'help': 'Watch for changes and automatically reload.', 'default': False, 'action': 'store_true' - }) + },) def run(self, args): super(ServeCommand, self).run(args)