From b6d2774a0b9dc85728f309566991a8847b85af58 Mon Sep 17 00:00:00 2001 From: Michael Ossmann Date: Wed, 8 Feb 2017 14:37:01 -0700 Subject: [PATCH] fixed long option usage examples --- host/hackrf-tools/src/hackrf_debug.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/host/hackrf-tools/src/hackrf_debug.c b/host/hackrf-tools/src/hackrf_debug.c index 52c30eb6..e48ddd77 100644 --- a/host/hackrf-tools/src/hackrf_debug.c +++ b/host/hackrf-tools/src/hackrf_debug.c @@ -326,9 +326,9 @@ static void usage() { printf("\t-s, --si5351c: target SI5351C\n"); printf("\t-f, --rffc5072: target RFFC5072\n"); printf("\nExamples:\n"); - printf("\thackrf_debug -si5351c -n 12 -r # reads from si5351c register 12\n"); - printf("\thackrf_debug -rffc5072 -r # reads all rffc5072 registers\n"); - printf("\thackrf_debug -max2837 -n 10 -w 22 # writes max2837 register 10 with 22 decimal\n"); + printf("\thackrf_debug --si5351c -n 12 -r # reads from si5351c register 12\n"); + printf("\thackrf_debug --rffc5072 -r # reads all rffc5072 registers\n"); + printf("\thackrf_debug --max2837 -n 10 -w 22 # writes max2837 register 10 with 22 decimal\n"); } static struct option long_options[] = {