From e0a29e41a2c8d07a4613fa0e9b52d4f81b53e282 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 17 Aug 2007 09:46:01 +0000 Subject: Allow 'del' to work as a command --- src/rc-update.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3