projects
/
oweals
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73380e4
)
cli: add array and table types to method signature dump
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 28 Sep 2012 21:10:23 +0000
(23:10 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 28 Sep 2012 21:10:23 +0000
(23:10 +0200)
cli.c
patch
|
blob
|
history
diff --git
a/cli.c
b/cli.c
index de159473cb58077b2426a9c97eb5ebf9cd72b312..6bfb44ebd2b6b76b97462032aa453987e07a7030 100644
(file)
--- a/
cli.c
+++ b/
cli.c
@@
-27,6
+27,8
@@
static const char *format_type(void *priv, struct blob_attr *attr)
[BLOBMSG_TYPE_INT8] = "\"Boolean\"",
[BLOBMSG_TYPE_INT32] = "\"Integer\"",
[BLOBMSG_TYPE_STRING] = "\"String\"",
+ [BLOBMSG_TYPE_ARRAY] = "\"Array\"",
+ [BLOBMSG_TYPE_TABLE] = "\"Table\"",
};
const char *type = NULL;
int typeid;