Commit ffefd673 authored by Federico Vaga's avatar Federico Vaga

tools: show list of supported board in help()

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent fecd08f3
......@@ -42,7 +42,7 @@ static void fald_help()
printf("\nfald-simple-acq [OPTIONS] <device-name> 0x<device-id>\n\n");
printf(" <device-name>: name of the device to open\n");
for (i = 0; i < __ADC_SUPPORTED_BOARDS_LAST_INDEX; i++)
printf(" %s\n", adc_supported_board_names[i]);
printf(" %s\n", adc_board_name[i]);
printf(" <device-id>: unique device identifier (e.g.: \"0x0400\")\n");
printf(" --before|-b <num> number of pre samples\n");
printf(" --after|-a <num> n. of post samples (default: 16)\n");
......
......@@ -18,8 +18,12 @@
static void fald_help()
{
int i;
printf("\nfald-simple-get-conf [OPTIONS] <device-name> 0x<device-id>\n\n");
printf(" <device-name>: name of the device to open\n");
for (i = 0; i < __ADC_SUPPORTED_BOARDS_LAST_INDEX; i++)
printf(" %s\n", adc_board_name[i]);
printf(" <device-id>: unique device identifier (e.g.: \"0x0400\")\n");
printf(" --help|-h: show this help\n\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment