summaryrefslogtreecommitdiff
path: root/man/weston-rdp.man
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2022-12-05 17:28:23 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2022-12-08 17:39:12 +0100
commit84c10124cdb71a913751d60040f3ae0802e28a8e (patch)
treed17f1bb81d4d7344a85be31df3d87a3ac465459c /man/weston-rdp.man
parent06eb28ba6282a34175bcd6e02c302416925386d1 (diff)
compositor: support loading backend via shortened name
While the --backend parameter looks like it takes a file name, it really is selected from a list of supported strings that are then funneled through a translation to enum weston_compositor_backend [1]. Because all backend parameters are of the form "...-backend.so", and writing "--backend=...-backend.so" is boring, allow the --backend option to match the backend name without "-backend.so" suffix instead. For example, this allows to use "--backend=headless" instead of "--backend=headless-backend.so". Update help text and documentation. Keep the old way working for backwards compatibility. [1] 50dbf385140b ("libweston: use enum to choose the backend") Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Diffstat (limited to 'man/weston-rdp.man')
-rw-r--r--man/weston-rdp.man2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/weston-rdp.man b/man/weston-rdp.man
index a596826f..b2f84afc 100644
--- a/man/weston-rdp.man
+++ b/man/weston-rdp.man
@@ -2,7 +2,7 @@
.SH NAME
weston-rdp \- the RDP backend for Weston
.SH SYNOPSIS
-.B weston --backend=rdp-backend.so
+.B weston --backend=rdp
.
.\" ***************************************************************
.SH DESCRIPTION