[PATCH weston] compositor: add information about the fbdev backend to --help output

Emilio Pozuelo Monfort pochu27 at gmail.com
Sat Mar 30 13:11:45 PDT 2013


Hi,

Looks good to me. It would be good to add this to man /weston.man too.

Thanks,
Emilio

On 03/30/2013 03:18 PM, Philipp Brüschweiler wrote:
> ---
>  src/compositor.c | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/src/compositor.c b/src/compositor.c
> index c3e6bed..7a656e7 100644
> --- a/src/compositor.c
> +++ b/src/compositor.c
> @@ -3467,7 +3467,8 @@ usage(int error_code)
>  		"Core options:\n\n"
>  		"  --version\t\tPrint weston version\n"
>  		"  -B, --backend=MODULE\tBackend module, one of drm-backend.so,\n"
> -		"\t\t\t\tx11-backend.so or wayland-backend.so\n"
> +		"\t\t\t\tfbdev-backend.so, x11-backend.so or\n"
> +		"\t\t\t\twayland-backend.so\n"
>  		"  -S, --socket=NAME\tName of socket to listen on\n"
>  		"  -i, --idle-time=SECS\tIdle time in seconds\n"
>  		"  --modules\t\tLoad the comma-separated list of modules\n"
> @@ -3483,6 +3484,11 @@ usage(int error_code)
>  		"  --current-mode\tPrefer current KMS mode over EDID preferred mode\n\n");
>  
>  	fprintf(stderr,
> +		"Options for fbdev-backend.so:\n\n"
> +		"  --tty=TTY\t\tThe tty to use\n"
> +		"  --device=DEVICE\tThe framebuffer device to use\n\n");
> +
> +	fprintf(stderr,
>  		"Options for x11-backend.so:\n\n"
>  		"  --width=WIDTH\t\tWidth of X window\n"
>  		"  --height=HEIGHT\tHeight of X window\n"
> 



More information about the wayland-devel mailing list