[PATCH 10/15] os: remove superfluous r option

Tiago Vignatti tiago.vignatti at nokia.com
Thu Oct 28 07:17:05 PDT 2010


kbd auto-repeat is on by default already.

Signed-off-by: Tiago Vignatti <tiago.vignatti at nokia.com>
---
 os/utils.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/os/utils.c b/os/utils.c
index e9280bb..7cee9c1 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -499,7 +499,6 @@ void UseMsg(void)
     ErrorF("-pn                    accept failure to listen on all ports\n");
     ErrorF("-nopn                  reject failure to listen on all ports\n");
     ErrorF("-r                     turns off auto-repeat\n");
-    ErrorF("r                      turns on auto-repeat \n");
     ErrorF("-render [default|mono|gray|color] set render color alloc policy\n");
     ErrorF("-retro                 start with classic stipple and cursor\n");
     ErrorF("-s #                   screen-saver timeout (minutes)\n");
@@ -782,8 +781,6 @@ ProcessCommandLine(int argc, char *argv[])
 	    PartialNetwork = TRUE;
 	else if ( strcmp( argv[i], "-nopn") == 0)
 	    PartialNetwork = FALSE;
-	else if ( strcmp( argv[i], "r") == 0)
-	    defaultKeyboardControl.autoRepeat = TRUE;
 	else if ( strcmp( argv[i], "-r") == 0)
 	    defaultKeyboardControl.autoRepeat = FALSE;
 	else if ( strcmp( argv[i], "-retro") == 0)
-- 
1.7.0.4



More information about the xorg-devel mailing list