diff options
author | Roy Marples <roy@marples.name> | 2007-08-17 09:46:01 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-08-17 09:46:01 +0000 |
commit | e0a29e41a2c8d07a4613fa0e9b52d4f81b53e282 (patch) | |
tree | 0b1d83ef482b94951c39f10f665e9213cf83b422 | |
parent | eba9b8ac144aaf86d6e5a80e48ccd70ae9515962 (diff) |
Allow 'del' to work as a command
-rw-r--r-- | src/rc-update.c | 3 |
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; |