afb-client-demo add options -H and -r
authorJosé Bollo <jose.bollo@iot.bzh>
Mon, 29 May 2017 07:28:26 +0000 (09:28 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Mon, 29 May 2017 07:28:26 +0000 (09:28 +0200)
commitce8d87d91aa710702b02a371278f4e1f39ea195c
tree8580f975faf3a16e5ce74594c3d1861010cba611
parentde58242f94d003c093573120e2389a60adf4374c
afb-client-demo add options -H and -r

The option -H (or --human) allows to output the
emited JSON object as pretty formatted for being
readable by human.

The option -r (--raw) can be used in this case to
still continue to print the raw output.

Change-Id: I1da531794fb243413741f067cfea79f670c3a626
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-client-demo.c