aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-08-17 09:52:03 +0200
committerHarald Welte <laforge@gnumonks.org>2012-08-17 09:52:03 +0200
commitd13e0cd6dbb535a4c241806a84c2a8ae41405e1b (patch)
tree43103939469e82d604b9c72d87557ab13d0fbc81
parentcfaabbb21eeeacbd5e2cb8c0d39d1bd2f2701558 (diff)
Some more VTY documentation / help fixes
-rw-r--r--openbsc/src/libbsc/abis_om2000_vty.c3
-rw-r--r--openbsc/src/libbsc/bsc_vty.c18
-rw-r--r--openbsc/src/libmsc/vty_interface_layer3.c1
3 files changed, 13 insertions, 9 deletions
diff --git a/openbsc/src/libbsc/abis_om2000_vty.c b/openbsc/src/libbsc/abis_om2000_vty.c
index 3bcd94ba6..3df005ba0 100644
--- a/openbsc/src/libbsc/abis_om2000_vty.c
+++ b/openbsc/src/libbsc/abis_om2000_vty.c
@@ -217,8 +217,7 @@ DEFUN(om2k_disable, om2k_disable_cmd,
DEFUN(om2k_op_info, om2k_op_info_cmd,
"operational-info <0-1>",
"Set operational information\n"
- "Set operational info to 0\n"
- "Set operational info to 1\n")
+ "Set operational info to 0 or 1\n")
{
struct oml_node_state *oms = vty->index;
int oper = atoi(argv[0]);
diff --git a/openbsc/src/libbsc/bsc_vty.c b/openbsc/src/libbsc/bsc_vty.c
index 108f51446..9fbb5dea5 100644
--- a/openbsc/src/libbsc/bsc_vty.c
+++ b/openbsc/src/libbsc/bsc_vty.c
@@ -1549,7 +1549,7 @@ DEFUN(cfg_bts_timezone,
"Timezone offset (00 minutes)\n"
"Timezone offset (15 minutes)\n"
"Timezone offset (30 minutes)\n"
- "Timezone offset (60 minutes)\n"
+ "Timezone offset (45 minutes)\n"
)
{
struct gsm_bts *bts = vty->index;
@@ -1681,12 +1681,13 @@ DEFUN(cfg_bts_hsl_oml,
return CMD_SUCCESS;
}
-#define OML_E1_STR OML_STR "E1 Line\n"
+#define OML_E1_STR OML_STR "OML E1/T1 Configuration\n"
DEFUN(cfg_bts_oml_e1,
cfg_bts_oml_e1_cmd,
"oml e1 line E1_LINE timeslot <1-31> sub-slot (0|1|2|3|full)",
- OML_E1_STR OML_E1_STR
+ OML_E1_STR
+ "E1/T1 line number to be used for OML\n"
"E1/T1 line number to be used for OML\n"
"E1/T1 timeslot to be used for OML\n"
"E1/T1 timeslot to be used for OML\n"
@@ -1757,7 +1758,10 @@ DEFUN(cfg_bts_rach_max_trans,
RACH_STR
"Set the maximum number of RACH burst transmissions\n"
"Set the maximum number of RACH burst transmissions\n"
- "Maximum number of RACH burst transmissions\n")
+ "Maximum number of 1 RACH burst transmissions\n"
+ "Maximum number of 2 RACH burst transmissions\n"
+ "Maximum number of 4 RACH burst transmissions\n"
+ "Maximum number of 7 RACH burst transmissions\n")
{
struct gsm_bts *bts = vty->index;
bts->si_common.rach_control.max_trans = rach_max_trans_val2raw(atoi(argv[0]));
@@ -1829,7 +1833,8 @@ DEFUN(cfg_bts_rach_ec_allowed, cfg_bts_rach_ec_allowed_cmd,
DEFUN(cfg_bts_ms_max_power, cfg_bts_ms_max_power_cmd,
"ms max power <0-40>",
"MS Options\n"
- "Maximum transmit power of the MS in dBm\n"
+ "Maximum transmit power of the MS\n"
+ "Maximum transmit power of the MS\n"
"Maximum transmit power of the MS in dBm")
{
struct gsm_bts *bts = vty->index;
@@ -2658,7 +2663,8 @@ DEFUN(cfg_ts_e1_subslot,
"E1/T1 channel connected to this on-air timeslot\n"
"E1/T1 channel connected to this on-air timeslot\n"
"E1/T1 line connected to this on-air timeslot\n"
- "E1/T1 line connected to this on-air timeslot\n"
+ "E1/T1 timeslot connected to this on-air timeslot\n"
+ "E1/T1 timeslot connected to this on-air timeslot\n"
"E1/T1 sub-slot connected to this on-air timeslot\n"
"E1/T1 sub-slot 0 connected to this on-air timeslot\n"
"E1/T1 sub-slot 1 connected to this on-air timeslot\n"
diff --git a/openbsc/src/libmsc/vty_interface_layer3.c b/openbsc/src/libmsc/vty_interface_layer3.c
index 619bf33ad..47a141d72 100644
--- a/openbsc/src/libmsc/vty_interface_layer3.c
+++ b/openbsc/src/libmsc/vty_interface_layer3.c
@@ -352,7 +352,6 @@ DEFUN(subscriber_ussd_notify,
subscriber_ussd_notify_cmd,
"subscriber " SUBSCR_TYPES " ID ussd-notify (0|1|2) .TEXT",
SUBSCR_HELP "Send a USSD notify to the subscriber\n"
- "Subscriber ID\n"
"Alerting Level 0\n"
"Alerting Level 1\n"
"Alerting Level 2\n"