From: Felix Fietkau Date: Fri, 28 Sep 2012 21:10:23 +0000 (+0200) Subject: cli: add array and table types to method signature dump X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=commitdiff_plain;h=1e3220d9df655c2b2ed935e128933dbf9507c9fa cli: add array and table types to method signature dump --- diff --git a/cli.c b/cli.c index de15947..6bfb44e 100644 --- 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;