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.
This commit is contained in:
Holger Hans Peter Freyther 2014-01-03 12:06:55 +01:00
parent c28a5b0b25
commit a4ffc44eac
1 changed files with 8 additions and 0 deletions

View File

@ -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)