From 2e35b720862e1a48a8b3ff1400262d4185258121 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 26 Aug 2005 11:37:52 +0000 Subject: r9645: fixed the ejs GetOptions() call to look at the first option passed (this is what broke --help) (This used to be commit 88a7e9e00f3714f89067ef97dfca46bc0688222e) --- source4/scripting/ejs/smbcalls_options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/scripting') diff --git a/source4/scripting/ejs/smbcalls_options.c b/source4/scripting/ejs/smbcalls_options.c index 3ba51bb2f4..2e94b7d72b 100644 --- a/source4/scripting/ejs/smbcalls_options.c +++ b/source4/scripting/ejs/smbcalls_options.c @@ -82,7 +82,7 @@ static int ejs_GetOptions(MprVarHandle eid, int argc, struct MprVar **argv) } /* create the long_options array */ - for (i=2;i