summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-04-24 16:19:19 +0200
committerMichael Schroeder <mls@suse.de>2013-04-24 16:19:19 +0200
commitcce3d233cc3adc31348c35a2cddcf6c7ee408b1a (patch)
tree1eda8535780d61c6fe4c592b0c7f3b5e552a35f3 /examples
parent818f1dadc7635911e0ee9e0b7f77ea358390836e (diff)
downloadlibsolv-cce3d233cc3adc31348c35a2cddcf6c7ee408b1a.tar.gz
libsolv-cce3d233cc3adc31348c35a2cddcf6c7ee408b1a.tar.bz2
libsolv-cce3d233cc3adc31348c35a2cddcf6c7ee408b1a.zip
allow ls for list command
Diffstat (limited to 'examples')
-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;