From 86d0ca1d4127b953d058d74403b2b10052899e50 Mon Sep 17 00:00:00 2001 From: Alexey Gladkov Date: Wed, 8 Apr 2009 15:32:39 +0400 Subject: [PATCH] loadkeys: Document -q option Hi, the -q option of loadkeys isn't documented anywhere, attached patch will mention it in --help and manpage. Best regards, Vitezslav Crhonek Signed-off-by: Alexey Gladkov --- man/man1/loadkeys.1.in | 6 ++++++ src/loadkeys.c | 1 + 2 files changed, 7 insertions(+) diff --git a/man/man1/loadkeys.1.in b/man/man1/loadkeys.1.in index a35535d..ab4c973 100644 --- a/man/man1/loadkeys.1.in +++ b/man/man1/loadkeys.1.in @@ -19,6 +19,8 @@ loadkeys \- load keyboard translation tables ] [ .I -m --mktable ] [ +.I -q --quiet +] [ .I -s --clearstrings ] [ .I -v --verbose @@ -148,6 +150,10 @@ command (and does not modify the current keymap). .B loadkeys prints its version number and a short usage message to the programs standard error output and exits. +.TP +.B \-q \-\-quiet +.B loadkeys +suppresses all normal output. .SH WARNING Note that anyone having read access to .B /dev/console diff --git a/src/loadkeys.c b/src/loadkeys.c index 9159402..d1fd6bd 100644 --- a/src/loadkeys.c +++ b/src/loadkeys.c @@ -1974,6 +1974,7 @@ usage(void) { " -d --default load \"%s\"\n" " -h --help display this help text\n" " -m --mktable output a \"defkeymap.c\" to stdout\n" +" -q --quiet suppress all normal output\n" " -s --clearstrings clear kernel string table\n" " -u --unicode implicit conversion to Unicode\n" " -v --verbose report the changes\n"), PACKAGE_VERSION, DEFMAP); -- 2.7.4