mirror of
https://github.com/sheumann/hush.git
synced 2024-10-11 10:23:41 +00:00
Put in i to getopt, so i will work...
This commit is contained in:
parent
eb4218d0a4
commit
f21aa84389
2
lash.c
2
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) {
|
switch (opt) {
|
||||||
case 'c':
|
case 'c':
|
||||||
input = NULL;
|
input = NULL;
|
||||||
|
2
sh.c
2
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) {
|
switch (opt) {
|
||||||
case 'c':
|
case 'c':
|
||||||
input = NULL;
|
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) {
|
switch (opt) {
|
||||||
case 'c':
|
case 'c':
|
||||||
input = NULL;
|
input = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user