Merge pull request #1277 from grvvy/debug_device_fix

change the device long option to required in hackrf_debug
This commit is contained in:
Michael Ossmann
2023-02-14 20:15:53 -05:00
committed by GitHub

View File

@ -487,7 +487,7 @@ static struct option long_options[] = {
{"register", required_argument, 0, 'n'}, {"register", required_argument, 0, 'n'},
{"write", required_argument, 0, 'w'}, {"write", required_argument, 0, 'w'},
{"read", no_argument, 0, 'r'}, {"read", no_argument, 0, 'r'},
{"device", no_argument, 0, 'd'}, {"device", required_argument, 0, 'd'},
{"help", no_argument, 0, 'h'}, {"help", no_argument, 0, 'h'},
{"max2837", no_argument, 0, 'm'}, {"max2837", no_argument, 0, 'm'},
{"si5351c", no_argument, 0, 's'}, {"si5351c", no_argument, 0, 's'},