1
0
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:
Andrew Tridgell 2005-08-26 11:37:52 +00:00 committed by Gerald (Jerry) Carter
parent 13185f468f
commit 88a7e9e00f

View File

@ -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;