Some more VTY documentation / help fixes

This commit is contained in:
Harald Welte 2012-08-17 09:52:03 +02:00
parent cfaabbb21e
commit d13e0cd6db
3 changed files with 13 additions and 9 deletions

View File

@ -217,8 +217,7 @@ DEFUN(om2k_disable, om2k_disable_cmd,
DEFUN(om2k_op_info, om2k_op_info_cmd, DEFUN(om2k_op_info, om2k_op_info_cmd,
"operational-info <0-1>", "operational-info <0-1>",
"Set operational information\n" "Set operational information\n"
"Set operational info to 0\n" "Set operational info to 0 or 1\n")
"Set operational info to 1\n")
{ {
struct oml_node_state *oms = vty->index; struct oml_node_state *oms = vty->index;
int oper = atoi(argv[0]); int oper = atoi(argv[0]);

View File

@ -1549,7 +1549,7 @@ DEFUN(cfg_bts_timezone,
"Timezone offset (00 minutes)\n" "Timezone offset (00 minutes)\n"
"Timezone offset (15 minutes)\n" "Timezone offset (15 minutes)\n"
"Timezone offset (30 minutes)\n" "Timezone offset (30 minutes)\n"
"Timezone offset (60 minutes)\n" "Timezone offset (45 minutes)\n"
) )
{ {
struct gsm_bts *bts = vty->index; struct gsm_bts *bts = vty->index;
@ -1681,12 +1681,13 @@ DEFUN(cfg_bts_hsl_oml,
return CMD_SUCCESS; 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, DEFUN(cfg_bts_oml_e1,
cfg_bts_oml_e1_cmd, cfg_bts_oml_e1_cmd,
"oml e1 line E1_LINE timeslot <1-31> sub-slot (0|1|2|3|full)", "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 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"
"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 RACH_STR
"Set the maximum number of RACH burst transmissions\n" "Set the maximum number of RACH burst transmissions\n"
"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; struct gsm_bts *bts = vty->index;
bts->si_common.rach_control.max_trans = rach_max_trans_val2raw(atoi(argv[0])); 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, DEFUN(cfg_bts_ms_max_power, cfg_bts_ms_max_power_cmd,
"ms max power <0-40>", "ms max power <0-40>",
"MS Options\n" "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") "Maximum transmit power of the MS in dBm")
{ {
struct gsm_bts *bts = vty->index; 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 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 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 connected to this on-air timeslot\n"
"E1/T1 sub-slot 0 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" "E1/T1 sub-slot 1 connected to this on-air timeslot\n"

View File

@ -352,7 +352,6 @@ DEFUN(subscriber_ussd_notify,
subscriber_ussd_notify_cmd, subscriber_ussd_notify_cmd,
"subscriber " SUBSCR_TYPES " ID ussd-notify (0|1|2) .TEXT", "subscriber " SUBSCR_TYPES " ID ussd-notify (0|1|2) .TEXT",
SUBSCR_HELP "Send a USSD notify to the subscriber\n" SUBSCR_HELP "Send a USSD notify to the subscriber\n"
"Subscriber ID\n"
"Alerting Level 0\n" "Alerting Level 0\n"
"Alerting Level 1\n" "Alerting Level 1\n"
"Alerting Level 2\n" "Alerting Level 2\n"