about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index b4e7b48..4f9dd2e 100644
--- a/main.c
+++ b/main.c
@@ -78,8 +78,8 @@ int main() {
 	} else if (strcmp(buf, "list") == 0) {
 	  for (int i = 0; i < s.numel; i++) {
 	    fprintf(s.defout, "[%s]\t->\t%s\n", s.sorted[i].name, s.sorted[i].description);
-	    continue;
 	  }
+	  continue;
 	} else exec(buf, &s);
       }
     } else { /* we found a number */