From f21aa843896a8c3b8aef8534b90ae7687112f0e2 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 8 Dec 2000 20:50:30 +0000 Subject: [PATCH] Put in i to getopt, so i will work... --- lash.c | 2 +- sh.c | 2 +- shell/lash.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lash.c b/lash.c index 4b1ae6d27..07715d4e3 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 4b1ae6d27..07715d4e3 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 4b1ae6d27..07715d4e3 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;