Commit ea664d3f authored by Michal Čihař's avatar Michal Čihař

Document log levels in help

After having to figure out this in source code, I think it's better to document this in help.
parent 7d0eeb4e
Pipeline #46908 passed with stage
in 2 minutes and 45 seconds
......@@ -62,9 +62,9 @@ static const char *opt_help[COT_LAST] = {
[COT_STATE_LOG] =
"--state-log Dump state to files in /etc/updater-state directory.\n",
[COT_SYSLOG_LEVEL] =
"-s <syslog-level> What level of messages to send to syslog.\n",
"-s <syslog-level> What level of messages to send to syslog (DISABLE/ERROR/WARN/INFO/DBG).\n",
[COT_STDERR_LEVEL] =
"-e <stderr-level> What level of messages to send to stderr.\n",
"-e <stderr-level> What level of messages to send to stderr (DISABLE/ERROR/WARN/INFO/DBG).\n",
[COT_SYSLOG_NAME] =
"-S <syslog-name> Under which name messages are sent to syslog.\n",
[COT_ASK_APPROVAL] =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment