From fe86f005f64578f8ccc241bb79985490dbfd1791 Mon Sep 17 00:00:00 2001 From: grvvy Date: Wed, 8 Feb 2023 12:18:27 -0700 Subject: [PATCH] change the device long option to required in hackrf_debug --- host/hackrf-tools/src/hackrf_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/hackrf-tools/src/hackrf_debug.c b/host/hackrf-tools/src/hackrf_debug.c index 9d3c15cc..397fc50e 100644 --- a/host/hackrf-tools/src/hackrf_debug.c +++ b/host/hackrf-tools/src/hackrf_debug.c @@ -487,7 +487,7 @@ static struct option long_options[] = { {"register", required_argument, 0, 'n'}, {"write", required_argument, 0, 'w'}, {"read", no_argument, 0, 'r'}, - {"device", no_argument, 0, 'd'}, + {"device", required_argument, 0, 'd'}, {"help", no_argument, 0, 'h'}, {"max2837", no_argument, 0, 'm'}, {"si5351c", no_argument, 0, 's'},