serve prepends the BaseCommand arguments
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user