projects
/
oweals
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fb6a56
)
fix uci delete
author
Felix Fietkau
<nbd@pi.lan>
Fri, 22 Aug 2008 20:03:22 +0000
(22:03 +0200)
committer
Felix Fietkau
<nbd@pi.lan>
Fri, 22 Aug 2008 20:03:22 +0000
(22:03 +0200)
cli.c
patch
|
blob
|
history
diff --git
a/cli.c
b/cli.c
index b7071a11c3874dff8fbbcf19ce7629e35704593f..46da45af1a52f9f0119687d3b86d9efd9abb1057 100644
(file)
--- 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;