mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-01-14 12:17:19 +01:00
rtl_sdr: clean up getopt-string
Signed-off-by: Steve Markgraf <steve@steve-m.de>
This commit is contained in:
parent
1cc9d64d98
commit
f2be2f945b
@ -122,7 +122,7 @@ int main(int argc, char **argv)
|
|||||||
uint32_t samp_rate = DEFAULT_SAMPLE_RATE;
|
uint32_t samp_rate = DEFAULT_SAMPLE_RATE;
|
||||||
uint32_t out_block_size = DEFAULT_BUF_LENGTH;
|
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) {
|
switch (opt) {
|
||||||
case 'd':
|
case 'd':
|
||||||
dev_index = verbose_device_search(optarg);
|
dev_index = verbose_device_search(optarg);
|
||||||
|
Loading…
Reference in New Issue
Block a user