From: Felix Fietkau Date: Fri, 22 Aug 2008 20:03:22 +0000 (+0200) Subject: fix uci delete X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=718a82c0daf03070304ac94edd57e1a726300a95;p=uci.git fix uci delete --- 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;