From cc9151f89e4e40148cdbe0e3f6e673c4337dbfa6 Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Mon, 12 Nov 2012 11:57:55 +0100 Subject: [PATCH] 'wsgi' option is an alias for 'module' not 'wsgi-file' --- plugins/python/python_plugin.c | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/python/python_plugin.c b/plugins/python/python_plugin.c index 3d43dade..a26edf76 100644 --- a/plugins/python/python_plugin.c +++ b/plugins/python/python_plugin.c @@ -67,7 +67,6 @@ void uwsgi_opt_ini_paste(char *opt, char *value, void *foobar) { struct uwsgi_option uwsgi_python_options[] = { {"wsgi-file", required_argument, 0, "load .wsgi file", uwsgi_opt_set_str, &up.file_config, 0}, - {"wsgi", required_argument, 0, "load .wsgi file", uwsgi_opt_set_str, &up.file_config, 0}, {"file", required_argument, 0, "load .wsgi file", uwsgi_opt_set_str, &up.file_config, 0}, {"eval", required_argument, 0, "eval python code", uwsgi_opt_set_str, &up.eval, 0}, {"module", required_argument,'w', "load a WSGI module", uwsgi_opt_set_str, &up.wsgi_config, 0},