summaryrefslogtreecommitdiff
path: root/Src/Zle/compctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle/compctl.c')
-rw-r--r--Src/Zle/compctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/Zle/compctl.c b/Src/Zle/compctl.c
index b4981a842..cc0aebf04 100644
--- a/Src/Zle/compctl.c
+++ b/Src/Zle/compctl.c
@@ -3808,9 +3808,9 @@ makecomplistflags(Compctl cc, char *s, int incmd, int compadd)
if (cc->gname) {
endcmgroup(yaptr);
begcmgroup(cc->gname, gflags);
- addexpl();
+ addexpl(0);
} else {
- addexpl();
+ addexpl(0);
endcmgroup(yaptr);
begcmgroup("default", 0);
}
@@ -3825,7 +3825,7 @@ makecomplistflags(Compctl cc, char *s, int incmd, int compadd)
untokenize(tt);
}
curexpl->str = tt;
- addexpl();
+ addexpl(0);
}
if (cc->subcmd) {
/* Handle -l sub-completion. */