summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/complete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/complete.c b/common/complete.c
index 0b03d7ce9a..0780888cae 100644
--- a/common/complete.c
+++ b/common/complete.c
@@ -272,7 +272,7 @@ static char* cmd_complete_lookup(struct string_list *sl, char *instr)
{
struct command *cmdtp;
int len;
- int ret = 1;
+ int ret = COMPLETE_END;
char *res = NULL;
for_each_command(cmdtp) {