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)