From: Pierre Ossman Date: Fri, 11 Jun 2021 14:54:55 +0000 (+0200) Subject: Don't list clipboard parameters for x0vncserver X-Git-Tag: v1.11.90~38 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=17aee6306628a4b949afb4aa9cc950507daaf2f6;p=tigervnc.git Don't list clipboard parameters for x0vncserver Better to just hide these parameters rather than stating that they are unused in the man page. --- diff --git a/unix/x0vncserver/x0vncserver.cxx b/unix/x0vncserver/x0vncserver.cxx index 0aa2a92b..0bf10a90 100644 --- a/unix/x0vncserver/x0vncserver.cxx +++ b/unix/x0vncserver/x0vncserver.cxx @@ -209,6 +209,11 @@ int main(int argc, char** argv) Configuration::enableServerParams(); + // FIXME: We don't support clipboard yet + Configuration::removeParam("AcceptCutText"); + Configuration::removeParam("SendCutText"); + Configuration::removeParam("MaxCutText"); + for (int i = 1; i < argc; i++) { if (Configuration::setParam(argv[i])) continue; diff --git a/unix/x0vncserver/x0vncserver.man b/unix/x0vncserver/x0vncserver.man index e1a4646f..55f30454 100644 --- a/unix/x0vncserver/x0vncserver.man +++ b/unix/x0vncserver/x0vncserver.man @@ -297,14 +297,6 @@ Terminate when a client has been connected for \fIN\fP seconds. Default is .TP .B \-MaxIdleTime \fIseconds\fP Terminate after \fIN\fP seconds of user inactivity. Default is 0. -. -.TP -.B \-AcceptCutText -.TQ -.B \-SendCutText -.TQ -.B \-MaxCutText -Currently unused. .SH SEE ALSO .BR Xvnc (1),