Skip to content

Commit

Permalink
Merge pull request 'Improve CLI usage docs: '-d' also accepts serial' (
Browse files Browse the repository at this point in the history
…#5) from kerel-fs/rtl-sdr:docs into master

Reviewed-on: https://gitea.osmocom.org/sdr/rtl-sdr/pulls/5
  • Loading branch information
Steve Markgraf committed Mar 8, 2024
2 parents af33886 + 91ef34d commit dd2511a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/rtl_adsb.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ void usage(void)
fprintf(stderr,
"rtl_adsb, a simple ADS-B decoder\n\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[-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"
Expand Down
2 changes: 1 addition & 1 deletion src/rtl_fm.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ void usage(void)
"\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[-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[-g tuner_gain (default: automatic)]\n"
"\t[-l squelch_level (default: 0/off)]\n"
Expand Down
2 changes: 1 addition & 1 deletion src/rtl_power.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ void usage(void)
"\t[-e exit_timer (default: off/0)]\n"
//"\t[-s avg/iir smoothing (default: avg)]\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[-p ppm_error (default: 0)]\n"
"\t[-T enable bias-T on GPIO PIN 0 (works for rtl-sdr.com v3 dongles)]\n"
Expand Down
2 changes: 1 addition & 1 deletion src/rtl_sdr.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void usage(void)
"rtl_sdr, an I/Q recorder for RTL2832 based DVB-T receivers\n\n"
"Usage:\t -f frequency_to_tune_to [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[-g gain (default: 0 for auto)]\n"
"\t[-p ppm_error (default: 0)]\n"
"\t[-b output_block_size (default: 16 * 16384)]\n"
Expand Down
2 changes: 1 addition & 1 deletion src/rtl_tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ void usage(void)
printf("\t[-s samplerate in Hz (default: %d Hz)]\n", DEFAULT_SAMPLE_RATE_HZ);
printf("\t[-b number of buffers (default: 15, set by library)]\n");
printf("\t[-n max number of linked list buffers to keep (default: %d)]\n", DEFAULT_MAX_NUM_BUFFERS);
printf("\t[-d device index (default: 0)]\n");
printf("\t[-d device index or serial (default: 0)]\n");
printf("\t[-P ppm_error (default: 0)]\n");
printf("\t[-T enable bias-T on GPIO PIN 0 (works for rtl-sdr.com v3 dongles)]\n");
printf("\t[-D enable direct sampling (default: off)]\n");
Expand Down
2 changes: 1 addition & 1 deletion src/rtl_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void usage(void)
"rtl_test, a benchmark tool for RTL2832 based DVB-T receivers\n\n"
"Usage:\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"
#ifndef _WIN32
"\t[-p[seconds] enable PPM error measurement (default: 10 seconds)]\n"
Expand Down

0 comments on commit dd2511a

Please sign in to comment.