From: Eric Andersen Date: Fri, 8 Dec 2000 20:50:30 +0000 (-0000) Subject: Put in i to getopt, so i will work... X-Git-Tag: 0_48~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f21aa843896a8c3b8aef8534b90ae7687112f0e2;p=platform%2Fupstream%2Fbusybox.git Put in i to getopt, so i will work... --- diff --git a/lash.c b/lash.c index 4b1ae6d..07715d4 100644 --- a/lash.c +++ b/lash.c @@ -1490,7 +1490,7 @@ int shell_main(int argc_l, char **argv_l) } } - while ((opt = getopt(argc_l, argv_l, "cx")) > 0) { + while ((opt = getopt(argc_l, argv_l, "cxi")) > 0) { switch (opt) { case 'c': input = NULL; diff --git a/sh.c b/sh.c index 4b1ae6d..07715d4 100644 --- a/sh.c +++ b/sh.c @@ -1490,7 +1490,7 @@ int shell_main(int argc_l, char **argv_l) } } - while ((opt = getopt(argc_l, argv_l, "cx")) > 0) { + while ((opt = getopt(argc_l, argv_l, "cxi")) > 0) { switch (opt) { case 'c': input = NULL; diff --git a/shell/lash.c b/shell/lash.c index 4b1ae6d..07715d4 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -1490,7 +1490,7 @@ int shell_main(int argc_l, char **argv_l) } } - while ((opt = getopt(argc_l, argv_l, "cx")) > 0) { + while ((opt = getopt(argc_l, argv_l, "cxi")) > 0) { switch (opt) { case 'c': input = NULL;