From 9b30c8683bf3a9af191368fbe9dcb4fb474eb5e5 Mon Sep 17 00:00:00 2001 From: Unbit Date: Thu, 23 May 2013 19:40:21 +0200 Subject: [PATCH] fixed backtrace-depth --- core/uwsgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/uwsgi.c b/core/uwsgi.c index 33df22dd..653e6ff1 100644 --- a/core/uwsgi.c +++ b/core/uwsgi.c @@ -53,7 +53,7 @@ static struct uwsgi_option uwsgi_base_options[] = { {"harakiri-no-arh", no_argument, 0, "do not enable harakiri during after-request-hook", uwsgi_opt_true, &uwsgi.harakiri_no_arh, 0}, {"no-harakiri-arh", no_argument, 0, "do not enable harakiri during after-request-hook", uwsgi_opt_true, &uwsgi.harakiri_no_arh, 0}, {"no-harakiri-after-req-hook", no_argument, 0, "do not enable harakiri during after-request-hook", uwsgi_opt_true, &uwsgi.harakiri_no_arh, 0}, - {"backtrace-depth", no_argument, 0, "set backtrace depth", uwsgi_opt_set_int, &uwsgi.backtrace_depth, 0}, + {"backtrace-depth", required_argument, 0, "set backtrace depth", uwsgi_opt_set_int, &uwsgi.backtrace_depth, 0}, {"mule-harakiri", required_argument, 0, "set harakiri timeout for mule tasks", uwsgi_opt_set_dyn, (void *) UWSGI_OPTION_MULE_HARAKIRI, 0}, #ifdef UWSGI_XML {"xmlconfig", required_argument, 'x', "load config from xml file", uwsgi_opt_load_xml, NULL, UWSGI_OPT_IMMEDIATE},