[kbd] [PATCH] Add documentation for loadkeys’s -q option to loadkeys.y

Michael Schutte michi at uiae.at
Mon Jun 1 13:21:04 MSD 2009


86d0ca1 only altered loadkeys.c.  Subsequent modifications to the yacc
source file loadkeys.y made this change disappear again.

Signed-off-by: Michael Schutte <michi at uiae.at>
---
 src/loadkeys.c |    7 ++++---
 src/loadkeys.y |    1 +
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/loadkeys.c b/src/loadkeys.c
index e2c0c7b..b5dfb38 100644
--- a/src/loadkeys.c
+++ b/src/loadkeys.c
@@ -163,7 +163,7 @@ int yylex (void);
 
 
 /* Line 189 of yacc.c  */
-#line 167 "loadkeys.c"
+#line 167 "y.tab.c"
 
 /* Enabling traces.  */
 #ifndef YYDEBUG
@@ -275,7 +275,7 @@ typedef int YYSTYPE;
 
 
 /* Line 264 of yacc.c  */
-#line 279 "loadkeys.c"
+#line 279 "y.tab.c"
 
 #ifdef short
 # undef short
@@ -1825,7 +1825,7 @@ yyreduce:
 
 
 /* Line 1455 of yacc.c  */
-#line 1829 "loadkeys.c"
+#line 1829 "y.tab.c"
       default: break;
     }
   YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
@@ -2057,6 +2057,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       force conversion to Unicode\n"
 "  -v --verbose       report the changes\n"), PACKAGE_VERSION, DEFMAP);
diff --git a/src/loadkeys.y b/src/loadkeys.y
index 70b48f9..be3e886 100644
--- a/src/loadkeys.y
+++ b/src/loadkeys.y
@@ -276,6 +276,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       force conversion to Unicode\n"
 "  -v --verbose       report the changes\n"), PACKAGE_VERSION, DEFMAP);
-- 
1.6.2.4



More information about the kbd mailing list