From 5130a7bb3393462a72bdd2e66f832931eb249c61 Mon Sep 17 00:00:00 2001 From: "roberto@debian32" Date: Fri, 9 Sep 2011 20:36:00 +0200 Subject: [PATCH] moved the old 'j' to 'J' option --- plugins/python/python_plugin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/python/python_plugin.c b/plugins/python/python_plugin.c index 1e6e965c..e2e85eff 100644 --- a/plugins/python/python_plugin.c +++ b/plugins/python/python_plugin.c @@ -16,7 +16,7 @@ struct option uwsgi_python_options[] = { {"module", required_argument, 0, 'w'}, {"wsgi", required_argument, 0, 'w'}, {"callable", required_argument, 0, LONG_ARGS_CALLABLE}, - {"test", required_argument, 0, 'j'}, + {"test", required_argument, 0, 'J'}, {"home", required_argument, 0, 'H'}, {"virtualenv", required_argument, 0, 'H'}, {"venv", required_argument, 0, 'H'}, @@ -755,7 +755,7 @@ int uwsgi_python_manage_options(int i, char *optarg) { case LONG_ARGS_PYARGV: up.argv = optarg; return 1; - case 'j': + case 'J': up.test_module = optarg; return 1; case 'H': @@ -1386,7 +1386,7 @@ struct uwsgi_plugin python_plugin = { .post_fork = uwsgi_python_post_fork, .options = uwsgi_python_options, .manage_opt = uwsgi_python_manage_options, - .short_options = "w:O:H:j:", + .short_options = "w:O:H:J:", .request = uwsgi_request_wsgi, .after_request = uwsgi_after_request_wsgi, .init_apps = uwsgi_python_init_apps,