diff options
| -rw-r--r-- | pyramid/scripts/proutes.py | 2 | ||||
| -rw-r--r-- | pyramid/scripts/pshell.py | 2 | ||||
| -rw-r--r-- | pyramid/scripts/ptweens.py | 2 | ||||
| -rw-r--r-- | pyramid/scripts/pviews.py | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/pyramid/scripts/proutes.py b/pyramid/scripts/proutes.py index e745e19fd..a957b622a 100644 --- a/pyramid/scripts/proutes.py +++ b/pyramid/scripts/proutes.py @@ -268,6 +268,8 @@ class PRoutesCommand(object): parser.add_argument( 'config_uri', + nargs='?', + default=None, help='The URI to the configuration file.', ) diff --git a/pyramid/scripts/pshell.py b/pyramid/scripts/pshell.py index 4289f10c4..a7fa121cf 100644 --- a/pyramid/scripts/pshell.py +++ b/pyramid/scripts/pshell.py @@ -66,6 +66,8 @@ class PShellCommand(object): "option will override the 'setup' key in the " "[pshell] ini section.")) parser.add_argument('config_uri', + nargs='?', + default=None, help='The URI to the configuration file.') ConfigParser = configparser.ConfigParser # testing diff --git a/pyramid/scripts/ptweens.py b/pyramid/scripts/ptweens.py index ed91757ab..4c1555473 100644 --- a/pyramid/scripts/ptweens.py +++ b/pyramid/scripts/ptweens.py @@ -33,6 +33,8 @@ class PTweensCommand(object): ) parser.add_argument('config_uri', + nargs='?', + default=None, help='The URI to the configuration file.') stdout = sys.stdout diff --git a/pyramid/scripts/pviews.py b/pyramid/scripts/pviews.py index e93d90a53..7776077a8 100644 --- a/pyramid/scripts/pviews.py +++ b/pyramid/scripts/pviews.py @@ -33,6 +33,8 @@ class PViewsCommand(object): ) parser.add_argument('config_uri', + nargs='?', + default=None, help='The URI to the configuration file.') bootstrap = (bootstrap,) # testing |
