improve config_vars docs in some scripts to mirror pserve
| | |
| | | 'config_vars', |
| | | nargs='*', |
| | | default=(), |
| | | help='Arbitrary options to override those in the [app:main] section ' |
| | | 'of the configuration file.', |
| | | ) |
| | | help="Variables required by the config file. For example, " |
| | | "`http_port=%%(http_port)s` would expect `http_port=8080` to be " |
| | | "passed here.", |
| | | ) |
| | | |
| | | get_app = staticmethod(get_app) |
| | | stdin = sys.stdin |
| | |
| | | 'config_vars', |
| | | nargs='*', |
| | | default=(), |
| | | help='Arbitrary options to override those in the [app:main] section ' |
| | | 'of the configuration file.', |
| | | ) |
| | | help="Variables required by the config file. For example, " |
| | | "`http_port=%%(http_port)s` would expect `http_port=8080` to be " |
| | | "passed here.", |
| | | ) |
| | | |
| | | def __init__(self, argv, quiet=False): |
| | | self.args = self.parser.parse_args(argv[1:]) |
| | |
| | | 'config_vars', |
| | | nargs='*', |
| | | default=(), |
| | | help='Arbitrary options to override those in the [app:main] section ' |
| | | 'of the configuration file.', |
| | | help="Variables required by the config file. For example, " |
| | | "`http_port=%%(http_port)s` would expect `http_port=8080` to be " |
| | | "passed here.", |
| | | ) |
| | | |
| | | stdout = sys.stdout |