cli: add array and table types to method signature dump

This commit is contained in:
Felix Fietkau 2012-09-28 23:10:23 +02:00
parent 73380e45c9
commit 1e3220d9df

2
cli.c
View file

@ -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;