Put in i to getopt, so i will work...
This commit is contained in:
1 parent
eb4218d0a4
commit
f21aa84389
3 files changed
+3
-3
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user