Put in i to getopt, so i will work...

This commit is contained in:
Eric Andersen committed 2000-12-08 20:50:30 +00:00
1 parent eb4218d0a4
commit f21aa84389
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;