diff --git a/pecan/commands/serve.py b/pecan/commands/serve.py index 119d8d7..d361961 100644 --- a/pecan/commands/serve.py +++ b/pecan/commands/serve.py @@ -19,7 +19,9 @@ class ServeCommand(BaseCommand): arguments = ({ 'name': 'config_file', - 'help': 'a Pecan configuration file' + 'help': 'a Pecan configuration file', + 'nargs': '?', + 'default': None, }, { 'name': '--reload', 'help': 'Watch for changes and automatically reload.',