summaryrefslogtreecommitdiff
path: root/builtins.c
diff options
context:
space:
mode:
authorToby Goodwin <toby@paccrat.org>2018-03-17 15:14:21 +0000
committerToby Goodwin <toby@paccrat.org>2018-03-17 15:14:21 +0000
commitcccdab7ea2bb922413f02698ecc5969c00e7a7aa (patch)
tree2d6291549e74bcf68fc7e46fc78be8ecd7cb8975 /builtins.c
parent9c7ee8473a71303ab4cb51c9593089c07c224a22 (diff)
tidy up, test cases, document flag
Diffstat (limited to 'builtins.c')
-rw-r--r--builtins.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/builtins.c b/builtins.c
index 57e0196..bd32f13 100644
--- a/builtins.c
+++ b/builtins.c
@@ -229,8 +229,7 @@ static void b_flag(char **av) {
if (mode != 2) goto flag_immutable;
flagp = &dashdee; break;
case 'e': flagp = &dashee; break;
- case 'I': if (mode != 2) mode = !mode; /* fallthrough */
- case 'i': flagp = &dasheye; break;
+ case 'i': flagp = &interactive; break;
case 'l':
if (mode != 2) goto flag_immutable;
flagp = &dashell; break;