diff --git a/uwsgi.c b/uwsgi.c index eb8d9df6..f6a672bb 100644 --- a/uwsgi.c +++ b/uwsgi.c @@ -315,7 +315,7 @@ static struct uwsgi_option uwsgi_base_options[] = { {"vhost", no_argument, 0, "enable virtualhosting mode (based on SERVER_NAME variable)", uwsgi_opt_true, &uwsgi.vhost, 0}, {"vhost-host", no_argument, 0, "enable virtualhosting mode (based on HTTP_HOST variable)", uwsgi_opt_true, &uwsgi.vhost_host, UWSGI_OPT_VHOST}, #ifdef UWSGI_ROUTING - {"route", no_argument, 0, "add a route", uwsgi_opt_add_route, NULL, 0}, + {"route", required_argument, 0, "add a route", uwsgi_opt_add_route, NULL, 0}, #endif {"add-header", required_argument, 0, "automatically add HTTP headers to response", uwsgi_opt_add_string_list, &uwsgi.additional_headers, 0}, {"check-static", required_argument, 0, "check for static files in the specified directory", uwsgi_opt_check_static, NULL, 0},