serve prepends the BaseCommand arguments

This commit is contained in:
Alfredo Deza
2013-01-23 18:04:32 -05:00
parent d12dd41845
commit 919632a606

View File

@@ -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)