1
0
mirror of https://github.com/DigitalDevices/octonet.git synced 2023-10-10 13:36:52 +02:00

octscan added missing comandline parameter

This commit is contained in:
mvoelkel 2016-01-12 20:04:13 +01:00
parent 6b1dbf2d98
commit b0d7961a2c

View File

@ -1656,6 +1656,8 @@ void usage() {
printf(" if not specified only a single transponder is scanned\n"); printf(" if not specified only a single transponder is scanned\n");
printf(" --freq=<frequency>, -f <frequency>\n"); printf(" --freq=<frequency>, -f <frequency>\n");
printf(" frequency in MHz (required)\n"); printf(" frequency in MHz (required)\n");
printf(" --src=<source>, -S <source>\n");
printf(" satellite source 1,2,3,4 (required for DVB-S/S2)\n");
printf(" --sr=<symbolrate>, -s <symbolrate>\n"); printf(" --sr=<symbolrate>, -s <symbolrate>\n");
printf(" symbolrate in kSymbols (required for DVB-S/S2 and DVB-C)\n"); printf(" symbolrate in kSymbols (required for DVB-S/S2 and DVB-C)\n");
printf(" DVB-S/S2 example: --sr=27500\n"); printf(" DVB-S/S2 example: --sr=27500\n");
@ -1733,6 +1735,7 @@ int main(int argc, char **argv)
{"use_nit", no_argument, 0, 'n'}, {"use_nit", no_argument, 0, 'n'},
{"freq", required_argument, 0, 'f'}, {"freq", required_argument, 0, 'f'},
{"sr", required_argument, 0, 's'}, {"sr", required_argument, 0, 's'},
{"src", required_argument, 0, 'S'},
{"pol", required_argument, 0, 'p'}, {"pol", required_argument, 0, 'p'},
{"msys", required_argument, 0, 'm'}, {"msys", required_argument, 0, 'm'},
{"mtype", required_argument, 0, 't'}, {"mtype", required_argument, 0, 't'},
@ -1740,7 +1743,7 @@ int main(int argc, char **argv)
{0, 0, 0, 0} {0, 0, 0, 0}
}; };
c = getopt_long(argc, argv, c = getopt_long(argc, argv,
"nf:s:p:m:t:?", "nf:s:S:p:m:t:?",
long_options, &option_index); long_options, &option_index);
if (c==-1) if (c==-1)
break; break;