summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-11-23 19:34:30 +0100
committerJo-Philipp Wich <jo@mein.io>2021-11-23 19:34:30 +0100
commit3a5bd84489e3f76b8123fbae681bd08369c23b55 (patch)
tree028719a4eed4f5ed30583283f7e318793a0bce15
parent16aa142c29d027f1f6e33658dd6fddeaa4e04231 (diff)
main: add ucode options to help text
Also clarify existing Lua option descriptions while we're at it. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--main.c8
1 files 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"