aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--complete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/complete.c b/complete.c
index 4425b96..2e9d4a1 100644
--- a/complete.c
+++ b/complete.c
@@ -36,7 +36,7 @@ void complete_bash(const char *command, struct option *opts)
for (i = 0; opts[i].name != NULL; i++) {
/* hide completion options */
- if (strncmp(opts[i].name, "complete-", 9))
+ if (strncmp(opts[i].name, "complete-", 9) == 0)
continue;
/* options with argument completion */