From 242e01e37a6bdd2a0bb79784295a0f850164f593 Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Sun, 11 Nov 2012 17:32:18 +0100 Subject: [PATCH] added 'wsgi' alias option --- plugins/python/python_plugin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/python/python_plugin.c b/plugins/python/python_plugin.c index a26edf76..3d43dade 100644 --- a/plugins/python/python_plugin.c +++ b/plugins/python/python_plugin.c @@ -67,6 +67,7 @@ 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},