From 3a5bd84489e3f76b8123fbae681bd08369c23b55 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 23 Nov 2021 19:34:30 +0100 Subject: [PATCH] main: add ucode options to help text Also clarify existing Lua option descriptions while we're at it. Signed-off-by: Jo-Philipp Wich --- main.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 13d02a4..893350a 100644 --- a/main.c +++ b/main.c @@ -151,8 +151,12 @@ static int usage(const char *name) " -n count Maximum allowed number of concurrent script requests\n" " -N count Maximum allowed number of concurrent connections\n" #ifdef HAVE_LUA - " -l string URL prefix for Lua handler, default is '/lua'\n" - " -L file Lua handler script, omit to disable Lua\n" + " -l string URL prefix for Lua handler\n" + " -L file Path to Lua handler script, -l and -L may be repeated in pairs\n" +#endif +#ifdef HAVE_UCODE + " -o string URL prefix for ucode handler\n" + " -O file Path to ucode handler script, -o and -O may be repeated in pairs\n" #endif #ifdef HAVE_UBUS " -u string URL prefix for UBUS via JSON-RPC handler\n" -- 2.30.2