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

Alan Coopersmith alan.coopersmith at oracle.com
Thu Oct 28 07:14:51 PDT 2010


That's an argument, not an option - it shouldn't start with a -,
just as the "vtxx" doesn't.

	-alan-

Tiago Vignatti wrote:
> 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 */
>  	}


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



More information about the xorg-devel mailing list