aboutsummaryrefslogtreecommitdiff
path: root/src/rc-update.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc-update.c')
-rw-r--r--src/rc-update.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rc-update.c b/src/rc-update.c
index b7c6e5fb..2d73223d 100644
--- a/src/rc-update.c
+++ b/src/rc-update.c
@@ -163,7 +163,8 @@ int rc_update (int argc, char **argv)
if (optind < argc) {
if (strcmp (argv[optind], "add") == 0)
action = DOADD;
- else if (strcmp (argv[optind], "delete") == 0)
+ else if (strcmp (argv[optind], "delete") == 0 ||
+ strcmp (argv[optind], "del") == 0)
action = DODELETE;
else if (strcmp (argv[optind], "show") == 0)
action = DOSHOW;