Added an option to color out the ouput 59/17359/3
authorLoïc Collignon <loic.collignon@iot.bzh>
Mon, 22 Oct 2018 14:44:03 +0000 (16:44 +0200)
committerLoïc Collignon <loic.collignon@iot.bzh>
Tue, 23 Oct 2018 09:56:42 +0000 (11:56 +0200)
commitdfe85ca516c207eadc4ae77066c6706f17068f20
tree07f0b87dd8d7da0b60ad12fefee5253ab511cfa4
parent61a01510306f60422df3cd3e67513d3c7b585524
Added an option to color out the ouput

Enhance the readability using basic colorization to the logging system.
As the '--call' option is almost unused, it doesn't require to have a
shortname. So we use the '-c' and '--color' for the new colorization
option, and keep only the longname for the 'call' option.

Change-Id: I095fc9f38133fb742e0f0003540cd120feec8f5e
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
docs/afb-daemon-options.md
src/afb-config.c
src/afb-export.c
src/verbose.c
src/verbose.h