aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/eclat.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/eclat.c b/src/eclat.c
index 5326c9e..12b4dd1 100644
--- a/src/eclat.c
+++ b/src/eclat.c
@@ -400,10 +400,13 @@ find_command_name(const char *name)
400 err("ambiguous command %s:", name); 400 err("ambiguous command %s:", name);
401 err(" %s", match->ident); 401 err(" %s", match->ident);
402 err(" %s", cp->ident); 402 err(" %s", cp->ident);
403 while (++cp < cmdtab + cmdcnt) 403 while (++cp < cmdtab + cmdcnt) {
404 if (!cp->ident)
405 continue;
404 if (ident_matches(cp->ident, name) != 406 if (ident_matches(cp->ident, name) !=
405 NO_MATCH) 407 NO_MATCH)
406 err(" %s", cp->ident); 408 err(" %s", cp->ident);
409 }
407 exit(EX_USAGE); 410 exit(EX_USAGE);
408 } 411 }
409 } 412 }

Return to:

Send suggestions and report system problems to the System administrator.