[PATCH 13/15] os: standardize option to enabling/disabling extensions

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


+extension -> -enableext
-extension -> -disableext

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

diff --git a/os/utils.c b/os/utils.c
index 0a4fca4..2f6eb0c 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -517,8 +517,8 @@ void UseMsg(void)
     ErrorF("-dumbSched             Disable smart scheduling, enable old behavior\n");
     ErrorF("-schedInterval int     Set scheduler interval in msec\n");
     ErrorF("-sigstop               Enable SIGSTOP based startup\n");
-    ErrorF("+extension name        Enable extension\n");
-    ErrorF("-extension name        Disable extension\n");
+    ErrorF("-enableext name        Enable extension\n");
+    ErrorF("-disableext name       Disable extension\n");
 #ifdef XDMCP
     XdmcpUseMsg();
 #endif
@@ -894,7 +894,7 @@ ProcessCommandLine(int argc, char *argv[])
 	{
 	    RunFromSigStopParent = TRUE;
 	}
-	else if ( strcmp( argv[i], "+extension") == 0)
+	else if ( strcmp( argv[i], "-enableext") == 0)
 	{
 	    if (++i < argc)
 	    {
@@ -904,7 +904,7 @@ ProcessCommandLine(int argc, char *argv[])
 	    else
 		UseMsg();
 	}
-	else if ( strcmp( argv[i], "-extension") == 0)
+	else if ( strcmp( argv[i], "-disableext") == 0)
 	{
 	    if (++i < argc)
 	    {
-- 
1.7.0.4



More information about the xorg-devel mailing list