@@ -3,10 +3,7 @@
ir\-keytable \- a swiss\-knife tool to handle Remote Controllers.
.SH SYNOPSIS
.B ir\-keytable
-[\fIOPTION\fR]... \fI\-\-sysdev\fR [\fIrc class (f. ex. rc0)\fR]
-.br
-.B ir\-keytable
-[\fIOPTION\fR]... [\fIfor using the rc0 sysdev\fR]
+[\fIOPTION\fR]...
.SH DESCRIPTION
ir\-keytable is a tool that lists the Remote Controller devices, allows one to
get/set rc keycode/scancode tables, set protocol decoder, test events
@@ -43,7 +40,7 @@ Sets the period to repeat a keystroke.
Read and show the current scancode to keycode mapping.
.TP
\fB\-s\fR, \fB\-\-sysdev\fR=\fISYSDEV\fR
-rc device to control
+rc device to control, defaults to \fIrc0\fR if not specified.
.TP
\fB\-t\fR, \fB\-\-test\fR
test if the rc device is generating events
@@ -246,7 +246,7 @@ static const char doc[] = N_(
static const struct argp_option options[] = {
{"verbose", 'v', 0, 0, N_("enables debug messages"), 0},
{"clear", 'c', 0, 0, N_("clears the old table"), 0},
- {"sysdev", 's', N_("SYSDEV"), 0, N_("rc class device to control"), 0},
+ {"sysdev", 's', N_("SYSDEV"), 0, N_("rc device to control, defaults to rc0 if not specified"), 0},
{"test", 't', 0, 0, N_("test if IR is generating events"), 0},
{"read", 'r', 0, 0, N_("reads the current scancode/keycode table"), 0},
{"write", 'w', N_("KEYMAP"), 0, N_("write (adds) the keymap from the specified file"), 0},
@@ -262,9 +262,7 @@ static const struct argp_option options[] = {
{ 0, 0, 0, 0, 0, 0 }
};
-static const char args_doc[] = N_(
- "--sysdev [rc class (f. ex. rc0)]\n"
- "[for using the rc0 sysdev]");
+static const char args_doc[] = N_("");
/* Static vars to store the parameters */
static char *devclass = NULL;
Signed-off-by: Sean Young <sean@mess.org> --- utils/keytable/ir-keytable.1.in | 7 ++----- utils/keytable/keytable.c | 6 ++---- 2 files changed, 4 insertions(+), 9 deletions(-)