diff mbox series

[1/2] ir-ctl: Rename no-wideband to narrowband

Message ID 20190116160724.18403-1-sean@mess.org (mailing list archive)
State New, archived
Headers show
Series [1/2] ir-ctl: Rename no-wideband to narrowband | expand

Commit Message

Sean Young Jan. 16, 2019, 4:07 p.m. UTC
Signed-off-by: Sean Young <sean@mess.org>
---
 utils/ir-ctl/ir-ctl.1.in | 2 +-
 utils/ir-ctl/ir-ctl.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/utils/ir-ctl/ir-ctl.1.in b/utils/ir-ctl/ir-ctl.1.in
index 2a148c70..10d4d594 100644
--- a/utils/ir-ctl/ir-ctl.1.in
+++ b/utils/ir-ctl/ir-ctl.1.in
@@ -54,7 +54,7 @@  Use the wideband receiver if available on the hardware. This is also
 known as learning mode. The measurements should be more precise and any
 carrier frequency should be accepted.
 .TP
-\fB\-n\fR, \fB\-\-no-wideband\fR
+\fB\-n\fR, \fB\-\-narrowband\fR
 Switches back to the normal, narrowband receiver if the wideband receiver
 was enabled.
 .TP
diff --git a/utils/ir-ctl/ir-ctl.c b/utils/ir-ctl/ir-ctl.c
index ddd93068..dcc9439c 100644
--- a/utils/ir-ctl/ir-ctl.c
+++ b/utils/ir-ctl/ir-ctl.c
@@ -109,7 +109,7 @@  static const struct argp_option options[] = {
 		{ .doc = N_("Receiving options:") },
 	{ "one-shot",	'1',	0,		0,	N_("end receiving after first message") },
 	{ "wideband",	'w',	0,		0,	N_("use wideband receiver aka learning mode") },
-	{ "no-wideband",'n',	0,		0,	N_("use normal narrowband receiver, disable learning mode") },
+	{ "narrowband",'n',	0,		0,	N_("use narrowband receiver, disable learning mode") },
 	{ "carrier-range", 'R', N_("RANGE"),	0,	N_("set receiver carrier range") },
 	{ "measure-carrier", 'm', 0,		0,	N_("report carrier frequency") },
 	{ "no-measure-carrier", 'M', 0,		0,	N_("disable reporting carrier frequency") },