[PATCH weston] main: update RDP backend help message

Dawid Gajownik gajownik at gmail.com
Fri Jul 31 10:49:57 PDT 2015


`--env-socket' option is of type WESTON_OPTION_BOOLEAN, not
WESTON_OPTION_STRING. Socket should be defined in RDP_FD environment variable.

Signed-off-by: Dawid Gajownik <gajownik at gmail.com>
---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index a2ed2b4..0017ab5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -319,7 +319,7 @@ usage(int error_code)
 		"Options for rdp-backend.so:\n\n"
 		"  --width=WIDTH\t\tWidth of desktop\n"
 		"  --height=HEIGHT\tHeight of desktop\n"
-		"  --env-socket=SOCKET\tUse that socket as peer connection\n"
+		"  --env-socket\t\tUse socket defined in RDP_FD env variable as peer connection\n"
 		"  --address=ADDR\tThe address to bind\n"
 		"  --port=PORT\t\tThe port to listen on\n"
 		"  --no-clients-resize\tThe RDP peers will be forced to the size of the desktop\n"
-- 
2.4.3



More information about the wayland-devel mailing list