summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-25 16:49:39 +0000
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-09-25 16:49:39 +0000
commit199d90a10eea7115c2854821ed11a229d72d1f23 (patch)
tree777a93c01ea95ecf986d1ad6f7ee4e2cd6eaa11f /lib/command.c
parent3ce54f781213b28bea95449f294ffc07630c9412 (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.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/command.c b/lib/command.c
index 10448ef6fb..22416ea73f 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -1621,7 +1621,7 @@ DEFUN_HIDDEN (do_echo,
DEFUN (config_logmsg,
config_logmsg_cmd,
- "logmsg "LOG_LEVELS" MESSAGE...",
+ "logmsg <emergencies|alerts|critical|errors|warnings|notifications|informational|debugging> MESSAGE...",
"Send a message to enabled logging destinations\n"
LOG_LEVEL_DESC
"The message to send\n")
@@ -1694,7 +1694,7 @@ DEFUN (show_logging,
DEFUN (config_log_stdout,
config_log_stdout_cmd,
- "log stdout ["LOG_LEVELS"]",
+ "log stdout [emergencies|alerts|critical|errors|warnings|notifications|informational|debugging]",
"Logging control\n"
"Set stdout logging level\n"
LOG_LEVEL_DESC)
@@ -1715,7 +1715,7 @@ DEFUN (config_log_stdout,
DEFUN (no_config_log_stdout,
no_config_log_stdout_cmd,
- "no log stdout ["LOG_LEVELS"]",
+ "no log stdout [emergencies|alerts|critical|errors|warnings|notifications|informational|debugging]",
NO_STR
"Logging control\n"
"Cancel logging to stdout\n"
@@ -1727,7 +1727,7 @@ DEFUN (no_config_log_stdout,
DEFUN (config_log_monitor,
config_log_monitor_cmd,
- "log monitor ["LOG_LEVELS"]",
+ "log monitor [emergencies|alerts|critical|errors|warnings|notifications|informational|debugging]",
"Logging control\n"
"Set terminal line (monitor) logging level\n"
LOG_LEVEL_DESC)
@@ -1748,7 +1748,7 @@ DEFUN (config_log_monitor,
DEFUN (no_config_log_monitor,
no_config_log_monitor_cmd,
- "no log monitor ["LOG_LEVELS"]",
+ "no log monitor [emergencies|alerts|critical|errors|warnings|notifications|informational|debugging]",
NO_STR
"Logging control\n"
"Disable terminal line (monitor) logging\n"
@@ -1878,7 +1878,7 @@ DEFUN (config_log_syslog,
DEFUN_DEPRECATED (config_log_syslog_facility,
config_log_syslog_facility_cmd,
- "log syslog facility "LOG_FACILITIES,
+ "log syslog facility (kern|user|mail|daemon|auth|syslog|lpr|news|uucp|cron|local0|local1|local2|local3|local4|local5|local6|local7)",
"Logging control\n"
"Logging goes to syslog\n"
"(Deprecated) Facility parameter for syslog messages\n"
@@ -1932,7 +1932,7 @@ DEFUN (no_config_log_facility,
DEFUN_DEPRECATED (config_log_trap,
config_log_trap_cmd,
- "log trap " LOG_LEVELS,
+ "log trap <emergencies|alerts|critical|errors|warnings|notifications|informational|debugging>",
"Logging control\n"
"(Deprecated) Set logging level and default for all destinations\n"
LOG_LEVEL_DESC)
@@ -1952,7 +1952,7 @@ DEFUN_DEPRECATED (config_log_trap,
DEFUN_DEPRECATED (no_config_log_trap,
no_config_log_trap_cmd,
- "no log trap [" LOG_LEVELS "]",
+ "no log trap [emergencies|alerts|critical|errors|warnings|notifications|informational|debugging]",
NO_STR
"Logging control\n"
"Permit all logging information\n"