compositor: add option to specify a weston.ini
Add a command line option to specify a file to be read instead of weston.ini. IVI-shell testing will at least temporarily need to specify a config file, because it cannot run without. That is why this is being added, but should be convenient for everybody, too. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk> Reviewed-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
@@ -111,6 +111,18 @@ or you can pass an absolute path. The default backend is
|
||||
unless the environment suggests otherwise, see
|
||||
.IR DISPLAY " and " WAYLAND_DISPLAY .
|
||||
.TP
|
||||
\fB\-\^c\fR\fIconfig.ini\fR, \fB\-\-config\fR=\fIconfig.ini\fR
|
||||
Load
|
||||
.IR config.ini " instead of " weston.ini .
|
||||
The argument can also be an absolute path starting with a
|
||||
.IR / .
|
||||
If the path is not absolute, it will be searched in the normal config
|
||||
paths, see
|
||||
.BR weston.ini (5).
|
||||
If also
|
||||
.B --no-config
|
||||
is given, no configuration file will be read.
|
||||
.TP
|
||||
.BR \-\-version
|
||||
Print the program version.
|
||||
.TP
|
||||
|
||||
Reference in New Issue
Block a user