mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
r9645: fixed the ejs GetOptions() call to look at the first option passed (this is what broke --help)
This commit is contained in:
parent
13185f468f
commit
88a7e9e00f
@ -82,7 +82,7 @@ static int ejs_GetOptions(MprVarHandle eid, int argc, struct MprVar **argv)
|
||||
}
|
||||
|
||||
/* create the long_options array */
|
||||
for (i=2;i<argc;i++) {
|
||||
for (i=1;i<argc;i++) {
|
||||
const char *optstr = mprToString(argv[i]);
|
||||
int t, opt_type = POPT_ARG_NONE;
|
||||
const char *s;
|
||||
|
Loading…
x
Reference in New Issue
Block a user