summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/solv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/solv.c b/examples/solv.c
index ceed784..a7511ba 100644
--- a/examples/solv.c
+++ b/examples/solv.c
@@ -2599,7 +2599,7 @@ main(int argc, char **argv)
mainmode = MODE_ERASE;
mode = SOLVER_ERASE;
}
- else if (!strcmp(argv[0], "list"))
+ else if (!strcmp(argv[0], "list") || !strcmp(argv[0], "ls"))
{
mainmode = MODE_LIST;
mode = 0;