[Libreoffice-commits] core.git: desktop/source sysui/desktop

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Mar 5 16:06:06 UTC 2019


 desktop/source/app/cmdlinehelp.cxx |    6 ++++--
 sysui/desktop/man/libreoffice.1    |    7 +++++--
 2 files changed, 9 insertions(+), 4 deletions(-)

New commits:
commit 9d152d29e2def8c15b493b1c8915aecee272a2fd
Author:     Michael Stahl <Michael.Stahl at cib.de>
AuthorDate: Tue Mar 5 12:04:21 2019 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Mar 5 17:05:43 2019 +0100

    improve documentation of soffice --accept parameter
    
    Change-Id: I8058bad949c973981013d099dba78b3e64cee0aa
    Reviewed-on: https://gerrit.libreoffice.org/68735
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/desktop/source/app/cmdlinehelp.cxx b/desktop/source/app/cmdlinehelp.cxx
index 5d9a941c50c4..95e71998f3fb 100644
--- a/desktop/source/app/cmdlinehelp.cxx
+++ b/desktop/source/app/cmdlinehelp.cxx
@@ -98,8 +98,10 @@ namespace desktop
         "                       configuration.                                          \n"
         "   --accept={UNO-URL}  Specifies an UNO-URL connect-string to create an UNO    \n"
         "                       acceptor through which other programs can connect to    \n"
-        "                       access the API. UNO-URL is string the such kind         \n"
-        "                   uno:connection-type,params;protocol-name,params;ObjectName. \n"
+        "                       access the API. Note that API access allows execution   \n"
+        "                       of arbitrary commands.                                  \n"
+        "                       The syntax of an UNO-URL connect-string is:             \n"
+        "                   uno:connection-type,params;protocol-name,params;ObjectName  \n"
         "   --unaccept={UNO-URL} Closes an acceptor that was created with --accept. Use \n"
         "                       --unaccept=all to close all open acceptors.             \n"
         "   --language={lang}   Uses specified language, if language is not selected    \n"
diff --git a/sysui/desktop/man/libreoffice.1 b/sysui/desktop/man/libreoffice.1
index 5291d8492e9b..5f938d3aaf48 100644
--- a/sysui/desktop/man/libreoffice.1
+++ b/sysui/desktop/man/libreoffice.1
@@ -48,8 +48,11 @@ sbase, scalc, sdraw, simpress, smath, sofficerc, swriter
 .SH OPTIONS
 .TP
 \fB\-\-accept=\fIaccept\-string\fR
-Specify a UNO connect-string to create a UNO acceptor through which other
-programs can connect to access the API.
+Specifies an UNO-URL connect-string to create a UNO acceptor through which other
+programs can connect to access the API. Note that API access allows execution
+of arbitrary commands.
+The syntax of an UNO-URL connect-string is:
+\fIuno:connection-type,params;protocol-name,params;ObjectName\fR
 
 .TP
 \fB\-\-base\fR


More information about the Libreoffice-commits mailing list