fixed long option usage examples

This commit is contained in:
Michael Ossmann
2017-02-08 14:37:01 -07:00
parent 77ace5a118
commit b6d2774a0b

View File

@ -326,9 +326,9 @@ static void usage() {
printf("\t-s, --si5351c: target SI5351C\n");
printf("\t-f, --rffc5072: target RFFC5072\n");
printf("\nExamples:\n");
printf("\thackrf_debug -si5351c -n 12 -r # reads from si5351c register 12\n");
printf("\thackrf_debug -rffc5072 -r # reads all rffc5072 registers\n");
printf("\thackrf_debug -max2837 -n 10 -w 22 # writes max2837 register 10 with 22 decimal\n");
printf("\thackrf_debug --si5351c -n 12 -r # reads from si5351c register 12\n");
printf("\thackrf_debug --rffc5072 -r # reads all rffc5072 registers\n");
printf("\thackrf_debug --max2837 -n 10 -w 22 # writes max2837 register 10 with 22 decimal\n");
}
static struct option long_options[] = {