added help for a bunch of options

This commit is contained in:
roberto@debian32
2011-08-27 19:37:34 +02:00
parent 0e41c4111a
commit 2b04cefe4e
2 changed files with 15 additions and 0 deletions
+1
View File
@@ -71,6 +71,7 @@ struct uwsgi_help_item uwsgi_python_help[] = {
{"file <file>", "use python file instead of python module for configuration"},
{"eval <code>", "evaluate code for app configuration"},
{"ini-paste <inifile>", "path of ini config file that contains paste configuration"},
{"pyshell", "run a python interactive shell in the uwsgi environment (steals a worker)"},
{ 0, 0},
+14
View File
@@ -3909,6 +3909,20 @@ struct uwsgi_help_item main_help[] = {
{"version", "print server version"},
{"attach-daemon <command>", "run <command> under the control of master process"},
{"daemonize <logfile|addr>", "daemonize and log into <logfile> or udp <addr>"},
{"loop <engine>", "use the <engine> loop engine"},
{"worker-exec <command>", "execve() <command> after each worker's fork()"},
{"autoload", "try to automatically load plugins"},
{"lazy", "load applications after each worker's fork()"},
{"cheap", "postpone workers startup until the first request"},
{"idle <secs>", "destroy workers (the server will go in cheap mode) after <secs> of inactivity"},
{"freebind (Linux only)", "allows binding on non-existent network address"},
{"xml <file>", "load config from an xml file"},
{"protocol <proto>", "set the default communication protocol (uwsgi, http, fastcgi)"},
{"reuse-port (BSD only)", "allows multiple instances bining on the same address"},
{"set KEY=VALUE", "set a placeholder"},
{"reload-mercy <secs>", "brutally kill workers not reloading in <secs>"},
{"emperor <dir|glob>", "start the emperor monitoring <dir|glob>"},
{"touch-reload <file>", "issue a graceful reload on <file> modifications/touch"},
{0, 0},