summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lash.c2
-rw-r--r--sh.c2
-rw-r--r--shell/lash.c2
3 files changed, 3 insertions, 3 deletions
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;