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:
Vlad Zahorodnii 2021-12-02 16:02:22 +02:00
parent f4b870977b
commit 4d7f1d1358
2 changed files with 3 additions and 3 deletions

View file

@ -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) {

View file

@ -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"),