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

Alan Coopersmith alan.coopersmith at oracle.com
Thu Oct 28 07:12:01 PDT 2010


You really hate our users don't you?   Not just breaking their configurations,
but leaving the man pages full of the old option names so they have no idea how
to fix them.

	-alan-

Tiago Vignatti wrote:
> +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)
>  	    {


-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list