diff --git a/src/rtl_power.c b/src/rtl_power.c index feef236..399b233 100644 --- a/src/rtl_power.c +++ b/src/rtl_power.c @@ -156,8 +156,9 @@ void usage(void) "Use:\trtl_power -f freq_range [-options] [-f freq2 -opts2] [filename]\n" "\t-f lower:upper:bin_size [Hz]\n" "\t valid range for bin_size is 1Hz - 2.8MHz\n" + "\t multiple frequency ranges are supported\n" "\t[-i integration_interval (default: 10 seconds)]\n" - "\t buggy if a full sweep takes longer than the interval\n" + "\t buggy if a full sweep takes longer than the interval\n" "\t[-1 enables single-shot mode (default: off)]\n" "\t[-e exit_timer (default: off/0)]\n" //"\t[-s avg/iir smoothing (default: avg)]\n" @@ -166,21 +167,22 @@ void usage(void) "\t[-g tuner_gain (default: automatic)]\n" "\t[-p ppm_error (default: 0)]\n" "\tfilename (a '-' dumps samples to stdout)\n" - "\t omitting the filename also uses stdout\n" + "\t omitting the filename also uses stdout\n" "\n" "Experimental options:\n" "\t[-w window (default: rectangle)]\n" - "\t hamming, blackman, blackman-harris, hann-poisson, bartlett, youssef\n" + "\t hamming, blackman, blackman-harris, hann-poisson, bartlett, youssef\n" // kaiser "\t[-c crop_percent (default: 0%% suggested: 20%%)]\n" - "\t discards data at the edges, 100%% discards everything\n" - "\t has no effect for bins larger than 1MHz\n" - "\t this value is a minimum crop size, more may be discarded\n" + "\t discards data at the edges, 100%% discards everything\n" + "\t has no effect for bins larger than 1MHz\n" + "\t this value is a minimum crop size, more may be discarded\n" "\t[-F fir_size (default: disabled)]\n" - "\t enables low-leakage downsample filter,\n" - "\t fir_size can be 0 or 9. 0 has bad roll off,\n" - "\t try with '-c 50%%'\n" + "\t enables low-leakage downsample filter,\n" + "\t fir_size can be 0 or 9. 0 has bad roll off,\n" + "\t try -F 0 with '-c 50%%' to hide the roll off\n" "\t[-r max_sample_rate (default: 2.4M)]\n" + "\t possible values are 2M to 3.2M\n" "\t[-P enables peak hold (default: off/averaging)]\n" "\t[-L enable linear output (default: off/dB)]\n" "\t[-D direct_sampling_mode, 0 (default/off), 1 (I), 2 (Q), 3 (no-mod)]\n" @@ -190,14 +192,16 @@ void usage(void) "\tdate, time, Hz low, Hz high, Hz step, samples, dbm, dbm, ...\n\n" "Examples:\n" "\trtl_power -f 88M:108M:125k fm_stations.csv\n" - "\t creates 160 bins across the FM band,\n" - "\t individual stations should be visible\n" + "\t creates 160 bins across the FM band,\n" + "\t individual stations should be visible\n" "\trtl_power -f 100M:1G:1M -i 5m -1 survey.csv\n" - "\t a five minute low res scan of nearly everything\n" + "\t a five minute low res scan of nearly everything\n" "\trtl_power -f ... -i 15m -1 log.csv\n" - "\t integrate for 15 minutes and exit afterwards\n" + "\t integrate for 15 minutes and exit afterwards\n" "\trtl_power -f ... -e 1h | gzip > log.csv.gz\n" - "\t collect data for one hour and compress it on the fly\n\n" + "\t collect data for one hour and compress it on the fly\n\n" + "\tIf you have issues writing +2GB logs on a 32bit platform\n" + "\tuse redirection (rtl_power ... > filename.csv) instead\n\n " "Convert CSV to a waterfall graphic with:\n" " https://github.com/keenerd/rtl-sdr-misc/blob/master/heatmap/heatmap.py \n" "More examples at http://kmkeen.com/rtl-power/\n");