aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Markgraf <steve@steve-m.de>2014-02-04 19:16:11 +0100
committerSteve Markgraf <steve@steve-m.de>2014-02-04 19:16:11 +0100
commitf2be2f945b74b8191651132dd55942eb42b3453e (patch)
tree5637434fdf523c95af9a0323d508b470334073cb
parent1cc9d64d98f572642f07dd55dff5ba29ace826b6 (diff)
rtl_sdr: clean up getopt-string
Signed-off-by: Steve Markgraf <steve@steve-m.de>
-rw-r--r--src/rtl_sdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtl_sdr.c b/src/rtl_sdr.c
index dbb5b16..c20b3d7 100644
--- a/src/rtl_sdr.c
+++ b/src/rtl_sdr.c
@@ -122,7 +122,7 @@ int main(int argc, char **argv)
uint32_t samp_rate = DEFAULT_SAMPLE_RATE;
uint32_t out_block_size = DEFAULT_BUF_LENGTH;
- while ((opt = getopt(argc, argv, "d:f:g:s:b:n:p:S::")) != -1) {
+ while ((opt = getopt(argc, argv, "d:f:g:s:b:n:p:S")) != -1) {
switch (opt) {
case 'd':
dev_index = verbose_device_search(optarg);