aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-01-03 12:06:55 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-01-03 12:07:15 +0100
commita4ffc44eac2a6c9611bdc77a69c6e61ba3f3cf3f (patch)
treeb611c1ff523f56859aa33e2498bba383e6db907d
parentc28a5b0b25f040429e9262a8a4997348ed129740 (diff)
sysmobts: Specify the parameters that can be read from the EEPROM
When using the utility it is not clear which parameters can be read or written. Make that more obvious.
-rw-r--r--src/osmo-bts-sysmo/misc/sysmobts_util.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_util.c b/src/osmo-bts-sysmo/misc/sysmobts_util.c
index 100d3986..9fdbb76c 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts_util.c
+++ b/src/osmo-bts-sysmo/misc/sysmobts_util.c
@@ -38,7 +38,15 @@ static char *write_arg;
static void print_help()
{
+ const struct value_string *par = sysmobts_par_names;
+
printf("sysmobts-util [-r | -w value] param_name\n");
+ printf("Possible param names:\n");
+
+ while (par->str != NULL) {
+ printf(" %s\n", par->str);
+ par += 1;
+ }
}
static int parse_options(int argc, char **argv)