summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-25 14:10:48 +0000
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-09-25 14:10:48 +0000
commit9ccf14f739123d3fa6aa89f12749c56da86c2992 (patch)
treeb207d5d41f3f4782ba959e93af63ab239edec9de /lib/command.c
parent92300491f60ef24128054bbf42b1b22ed12f2f9e (diff)
Expand #defines in command strings
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/command.c b/lib/command.c
index ed2c30ad63..6fb265f97a 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -1893,7 +1893,7 @@ DEFUN_DEPRECATED (config_log_syslog_facility,
DEFUN (no_config_log_syslog,
no_config_log_syslog_cmd,
- "no log syslog [" LOG_FACILITIES "] [" LOG_LEVELS "]",
+ "no log syslog [<kern|user|mail|daemon|auth|syslog|lpr|news|uucp|cron|local0|local1|local2|local3|local4|local5|local6|local7>] [" LOG_LEVELS "]",
NO_STR
"Logging control\n"
"Cancel logging to syslog\n"
@@ -1906,7 +1906,7 @@ DEFUN (no_config_log_syslog,
DEFUN (config_log_facility,
config_log_facility_cmd,
- "log facility " LOG_FACILITIES,
+ "log facility <kern|user|mail|daemon|auth|syslog|lpr|news|uucp|cron|local0|local1|local2|local3|local4|local5|local6|local7>",
"Logging control\n"
"Facility parameter for syslog messages\n"
LOG_FACILITY_DESC)
@@ -1920,7 +1920,7 @@ DEFUN (config_log_facility,
DEFUN (no_config_log_facility,
no_config_log_facility_cmd,
- "no log facility [" LOG_FACILITIES "]",
+ "no log facility [<kern|user|mail|daemon|auth|syslog|lpr|news|uucp|cron|local0|local1|local2|local3|local4|local5|local6|local7>]",
NO_STR
"Logging control\n"
"Reset syslog facility to default (daemon)\n"