[PATCH 11/15] os: standardize tty option to -tty instead

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


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

diff --git a/os/utils.c b/os/utils.c
index 7cee9c1..2482ca1 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -506,7 +506,7 @@ void UseMsg(void)
     ErrorF("-terminate             terminate at server reset\n");
     ErrorF("-to #                  connection time out\n");
     ErrorF("-tst                   disable testing extensions\n");
-    ErrorF("ttyxx                  server started from init on /dev/ttyxx\n");
+    ErrorF("-ttyxx                 server started from init on /dev/ttyxx\n");
     ErrorF("v                      video blanking for screen-saver\n");
     ErrorF("-v                     screen-saver without video blanking\n");
     ErrorF("-wm                    WhenMapped default backing-store\n");
@@ -846,7 +846,7 @@ ProcessCommandLine(int argc, char *argv[])
 	    noPanoramiXExtension = FALSE;
 	}
 #endif
-	else if (strncmp (argv[i], "tty", 3) == 0)
+	else if (strncmp (argv[i], "-tty", 3) == 0)
 	{
             /* init supplies us with this useless information */
 	}
-- 
1.7.0.4



More information about the xorg-devel mailing list