summaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc/osmo_bsc_vty.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-03-03 09:32:08 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-03-03 09:48:20 +0100
commit63b0e44f658948dd7aa86510ef2853cb3eaab339 (patch)
tree16a1485606cbab9fa011a164db50a5057ac7a1fc /openbsc/src/osmo-bsc/osmo_bsc_vty.c
parent456fccf6970b25c9a67ab0cf9263888858c17bd6 (diff)
vty: Document some previously undocumented parameters
Katerina pointed out that some nodes are not fully documented and proposed some messages. The token/timeout messages were correct, I have modified the other messages. I removed the full-stop from the PING/PONG documentation as we are normally not using a full sentence.
Diffstat (limited to 'openbsc/src/osmo-bsc/osmo_bsc_vty.c')
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_vty.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_vty.c b/openbsc/src/osmo-bsc/osmo_bsc_vty.c
index fb38848..254a56c 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_vty.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_vty.c
@@ -180,7 +180,7 @@ static int config_write_bsc(struct vty *vty)
DEFUN(cfg_net_bsc_token,
cfg_net_bsc_token_cmd,
"token TOKEN",
- "A token for the BSC to be sent to the MSC")
+ "A token for the BSC to be sent to the MSC\n" "A token\n")
{
struct osmo_msc_data *data = osmo_msc_data(vty);
@@ -335,7 +335,8 @@ DEFUN(cfg_net_msc_no_dest,
DEFUN(cfg_net_msc_ping_time,
cfg_net_msc_ping_time_cmd,
"timeout-ping NR",
- "Set the PING interval, negative for not sending PING")
+ "Set the PING interval, negative for not sending PING\n"
+ "Timeout in seconds\n")
{
struct osmo_msc_data *data = osmo_msc_data(vty);
data->ping_timeout = atoi(argv[0]);
@@ -345,7 +346,7 @@ DEFUN(cfg_net_msc_ping_time,
DEFUN(cfg_net_msc_pong_time,
cfg_net_msc_pong_time_cmd,
"timeout-pong NR",
- "Set the time to wait for a PONG.")
+ "Set the time to wait for a PONG\n" "Timeout in seconds\n")
{
struct osmo_msc_data *data = osmo_msc_data(vty);
data->pong_timeout = atoi(argv[0]);