wayland: Rename wayland_fd arg to wayland-fd
This make argument naming consistent, for example we have xwayland-fd arg, which has a dash instead of underscore.
This commit is contained in:
parent
f4b870977b
commit
4d7f1d1358
2 changed files with 3 additions and 3 deletions
|
@ -95,7 +95,7 @@ void KWinWrapper::run()
|
|||
|
||||
QStringList args;
|
||||
|
||||
args << "--wayland_fd" << QString::number(wl_socket_get_fd(m_socket));
|
||||
args << "--wayland-fd" << QString::number(wl_socket_get_fd(m_socket));
|
||||
args << "--socket" << QString::fromUtf8(wl_socket_get_display_name(m_socket));
|
||||
|
||||
if (m_xwlSocket) {
|
||||
|
|
|
@ -456,9 +456,9 @@ int main(int argc, char * argv[])
|
|||
QStringLiteral("count"));
|
||||
outputCountOption.setDefaultValue(QString::number(1));
|
||||
|
||||
QCommandLineOption waylandSocketFdOption(QStringLiteral("wayland_fd"),
|
||||
QCommandLineOption waylandSocketFdOption(QStringLiteral("wayland-fd"),
|
||||
i18n("Wayland socket to use for incoming connections. This can be combined with --socket to name the socket"),
|
||||
QStringLiteral("wayland_fd"));
|
||||
QStringLiteral("wayland-fd"));
|
||||
|
||||
QCommandLineOption xwaylandListenFdOption(QStringLiteral("xwayland-fd"),
|
||||
i18n("XWayland socket to use for Xwayland's incoming connections. This can be set multiple times"),
|
||||
|
|
Loading…
Reference in a new issue