From dfe85ca516c207eadc4ae77066c6706f17068f20 Mon Sep 17 00:00:00 2001 From: Loïc Collignon Date: Mon, 22 Oct 2018 16:44:03 +0200 Subject: Added an option to color out the ouput MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- docs/afb-daemon-options.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/afb-daemon-options.md b/docs/afb-daemon-options.md index 020991ec..0588fef2 100644 --- a/docs/afb-daemon-options.md +++ b/docs/afb-daemon-options.md @@ -4,6 +4,7 @@ The launch options for binder **afb-daemon** are: ``` -v, --verbose Verbose Mode, repeat to increase verbosity + -c, --color Colorize the ouput -q, --quiet Quiet Mode, repeat to decrease verbosity -l, --log=xxxx Tune log level --foreground Get all in foreground mode @@ -40,7 +41,7 @@ The launch options for binder **afb-daemon** are: --traceglob=xxxx Log the globals: none, all --traceditf=xxxx Log the daemons: no, common, all --tracesvc=xxxx Log the services: no, all - -c, --call=xxxx call at start format of val: API/VERB:json-args + --call=xxxx call at start format of val: API/VERB:json-args --no-httpd Forbid HTTP service -e, --exec Execute the remaining arguments -M, --monitoring Enable HTTP monitoring at /monitoring/ @@ -62,6 +63,10 @@ Display version and copyright Increases the verbosity, can be repeated +## color + +Add basic colorization to the ouput. + ## quiet Decreases the verbosity, can be repeated -- cgit 1.2.3-korg