amend usage, that option '-d' also accepts serial

Signed-off-by: hayati ayguen <h_ayguen@web.de>
development
hayati ayguen 2018-10-11 21:37:21 +02:00
parent 4d21e62b32
commit e30dbd52b6
6 changed files with 6 additions and 6 deletions

View File

@ -92,7 +92,7 @@ void usage(void)
fprintf(stderr, fprintf(stderr,
"rtl_adsb, a simple ADS-B decoder\n\n" "rtl_adsb, a simple ADS-B decoder\n\n"
"Use:\trtl_adsb [-R] [-g gain] [-p ppm] [output file]\n" "Use:\trtl_adsb [-R] [-g gain] [-p ppm] [output file]\n"
"\t[-d device_index (default: 0)]\n" "\t[-d device_index or serial (default: 0)]\n"
"\t[-V verbove output (default: off)]\n" "\t[-V verbove output (default: off)]\n"
"\t[-S show short frames (default: off)]\n" "\t[-S show short frames (default: off)]\n"
"\t[-Q quality (0: no sanity checks, 0.5: half bit, 1: one bit (default), 2: two bits)]\n" "\t[-Q quality (0: no sanity checks, 0.5: half bit, 1: one bit (default), 2: two bits)]\n"

View File

@ -262,7 +262,7 @@ void usage(void)
"\t wbfm == -M fm -s 170k -o 4 -A fast -r 32k -l 0 -E deemp\n" "\t wbfm == -M fm -s 170k -o 4 -A fast -r 32k -l 0 -E deemp\n"
"\t raw mode outputs 2x16 bit IQ pairs\n" "\t raw mode outputs 2x16 bit IQ pairs\n"
"\t[-s sample_rate (default: 24k)]\n" "\t[-s sample_rate (default: 24k)]\n"
"\t[-d device_index (default: 0)]\n" "\t[-d device_index or serial (default: 0)]\n"
"\t[-T enable bias-T on GPIO PIN 0 (works for rtl-sdr.com v3 dongles)]\n" "\t[-T enable bias-T on GPIO PIN 0 (works for rtl-sdr.com v3 dongles)]\n"
"\t[-D direct_sampling_mode (default: 0, 1 = I, 2 = Q, 3 = I below threshold, 4 = Q below threshold)]\n" "\t[-D direct_sampling_mode (default: 0, 1 = I, 2 = Q, 3 = I below threshold, 4 = Q below threshold)]\n"
"\t[-D direct_sampling_threshold_frequency (default: 0 use tuner specific frequency threshold for 3 and 4)]\n" "\t[-D direct_sampling_threshold_frequency (default: 0 use tuner specific frequency threshold for 3 and 4)]\n"

View File

@ -133,7 +133,7 @@ void usage(void)
"\t[-e exit_timer (default: off/0)]\n" "\t[-e exit_timer (default: off/0)]\n"
//"\t[-s avg/iir smoothing (default: avg)]\n" //"\t[-s avg/iir smoothing (default: avg)]\n"
//"\t[-t threads (default: 1)]\n" //"\t[-t threads (default: 1)]\n"
"\t[-d device_index (default: 0)]\n" "\t[-d device_index or serial (default: 0)]\n"
"\t[-g tuner_gain (default: automatic)]\n" "\t[-g tuner_gain (default: automatic)]\n"
"\t[-p ppm_error (default: 0)]\n" "\t[-p ppm_error (default: 0)]\n"
"\t[-T enable bias-T on GPIO PIN 0 (works for rtl-sdr.com v3 dongles)]\n" "\t[-T enable bias-T on GPIO PIN 0 (works for rtl-sdr.com v3 dongles)]\n"

View File

@ -51,7 +51,7 @@ void usage(void)
"Usage:\t -f frequency_to_tune_to [Hz]\n" "Usage:\t -f frequency_to_tune_to [Hz]\n"
"\t[-s samplerate (default: 2048000 Hz)]\n" "\t[-s samplerate (default: 2048000 Hz)]\n"
"\t[-w tuner_bandwidth (default: automatic)]\n" "\t[-w tuner_bandwidth (default: automatic)]\n"
"\t[-d device_index (default: 0)]\n" "\t[-d device_index or serial (default: 0)]\n"
"\t[-g gain (default: 0 for auto)]\n" "\t[-g gain (default: 0 for auto)]\n"
"\t[-p ppm_error (default: 0)]\n" "\t[-p ppm_error (default: 0)]\n"
"\t[-b output_block_size (default: 16 * 16384)]\n" "\t[-b output_block_size (default: 16 * 16384)]\n"

View File

@ -107,7 +107,7 @@ void usage(void)
"\t[-l length of single buffer in units of 512 samples (default: 32 was 256)]\n" "\t[-l length of single buffer in units of 512 samples (default: 32 was 256)]\n"
"\t[-n max number of linked list buffers to keep (default: 500)]\n" "\t[-n max number of linked list buffers to keep (default: 500)]\n"
"\t[-w rtlsdr tuner bandwidth [Hz] (for R820T and E4000 tuners)]\n" "\t[-w rtlsdr tuner bandwidth [Hz] (for R820T and E4000 tuners)]\n"
"\t[-d device index (default: 0)]\n" "\t[-d device index or serial (default: 0)]\n"
"\t[-P ppm_error (default: 0)]\n" "\t[-P ppm_error (default: 0)]\n"
"\t[-T enable bias-T on GPIO PIN 0 (works for rtl-sdr.com v3 dongles)]\n" "\t[-T enable bias-T on GPIO PIN 0 (works for rtl-sdr.com v3 dongles)]\n"

View File

@ -90,7 +90,7 @@ void usage(void)
"rtl_test, a benchmark tool for RTL2832 based DVB-T receivers\n\n" "rtl_test, a benchmark tool for RTL2832 based DVB-T receivers\n\n"
"Usage:\n" "Usage:\n"
"\t[-s samplerate (default: 2048000 Hz)]\n" "\t[-s samplerate (default: 2048000 Hz)]\n"
"\t[-d device_index (default: 0)]\n" "\t[-d device_index or serial (default: 0)]\n"
"\t[-t enable Elonics E4000 tuner benchmark]\n" "\t[-t enable Elonics E4000 tuner benchmark]\n"
#ifndef _WIN32 #ifndef _WIN32
"\t[-p[seconds] enable PPM error measurement (default: 10 seconds)]\n" "\t[-p[seconds] enable PPM error measurement (default: 10 seconds)]\n"