From 1a1db87d6d1c1247e5fa339c53940b799238ed45 Mon Sep 17 00:00:00 2001 From: Roland Jax Date: Wed, 21 May 2014 16:59:46 +0200 Subject: [PATCH] README: missing info for logarea and loglevel added. --- .gitignore | 4 ++-- README | 17 +++++++++-------- src/main.cpp | 4 ++-- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index cb38b040..ef488258 100644 --- a/.gitignore +++ b/.gitignore @@ -6,8 +6,8 @@ /config.* /configure /depcomp -/ebus-daemon -/ebus-daemon*.tar.* +/ebusd +/ebusd*.tar.* /install-sh /missing /stamp-h? diff --git a/README b/README index a32b00e3..c981afc6 100644 --- a/README +++ b/README @@ -13,14 +13,15 @@ Features - collect data of cycle messages * tcp socket multi session server (daemon commands) - - get fetch data from ebus participant - - set adjust data of ebus participant - - cyc fetch data from collected cycle messages - - hex send given hex value to ebus (ZZ PB SB NN Dx) - - dump toggle dump on/off - - log change loglevel - - quit close connection - - help print help page + - get fetch data from ebus participant + - set adjust data of ebus participant + - cyc fetch data from collected cycle messages + - hex send given hex value to ebus (ZZ PB SB NN Dx) + - dump toggle dump on/off + - logarea change log area + - loglevel change log level + - quit close connection + - help print help page Dependency diff --git a/src/main.cpp b/src/main.cpp index 91472c14..eb6f43fe 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -85,11 +85,11 @@ void define_args() Appl::type_string, Appl::opt_mandatory); A.addItem("p_logarea", Appl::Param("all"), "", "logarea", - "\tlogging area - bas|net|bus|cyc|all (all)", + "\tlog area - bas|net|bus|cyc|all (all)", Appl::type_string, Appl::opt_mandatory); A.addItem("p_loglevel", Appl::Param("trace"), "", "loglevel", - "\tlogging level - error|event|trace|debug (event)\n", + "\tlog level - error|event|trace|debug (event)\n", Appl::type_string, Appl::opt_mandatory); A.addItem("p_dump", Appl::Param(false), "D", "dump",