compositor: add --no-config command line option
Useful for unit tests. If Weston finds a weston.ini during unit tests, it will load it and all the modules it asks for. We need a way to prevent loading arbitrary modules from the command line. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
committed by
Kristian Høgsberg
parent
24713f679b
commit
588bee10de
@@ -130,6 +130,12 @@ suite. The file is searched for in
|
||||
.IR "__weston_modules_dir__" ,
|
||||
or you can pass an absolute path.
|
||||
.TP
|
||||
.BR \-\-no-config
|
||||
Do not read
|
||||
.I weston.ini
|
||||
for the compositor. Avoids e.g. loading compositor modules via the
|
||||
configuration file, which is useful for unit tests.
|
||||
.TP
|
||||
\fB\-\^S\fR\fIname\fR, \fB\-\-socket\fR=\fIname\fR
|
||||
Weston will listen in the Wayland socket called
|
||||
.IR name .
|
||||
|
||||
Reference in New Issue
Block a user