From 718a82c0daf03070304ac94edd57e1a726300a95 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 22 Aug 2008 22:03:22 +0200 Subject: [PATCH] fix uci delete --- cli.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli.c b/cli.c index b7071a1..46da45a 100644 --- a/cli.c +++ b/cli.c @@ -470,7 +470,8 @@ static int uci_cmd(int argc, char **argv) cmd = CMD_RENAME; else if (!strcasecmp(argv[0], "revert")) cmd = CMD_REVERT; - else if (!strcasecmp(argv[0], "del")) + else if (!strcasecmp(argv[0], "del") || + !strcasecmp(argv[0], "delete")) cmd = CMD_DEL; else if (!strcasecmp(argv[0], "import")) cmd = CMD_IMPORT; -- 2.30.2