serve defaults to None, accepts 0 or more arguments

This commit is contained in:
Alfredo Deza
2013-01-22 21:29:49 -05:00
parent ab967ccc09
commit d18b726608

View File

@@ -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.',