diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2019-03-05 12:04:21 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-03-05 17:05:43 +0100 |
commit | 9d152d29e2def8c15b493b1c8915aecee272a2fd (patch) | |
tree | 88eab6007ca7a2c9ca0e0bf76dbe057743a2f77f | |
parent | b1df6d21bf9a608cccb7f34f6cebe9eee5cec18e (diff) |
improve documentation of soffice --accept parameter
Change-Id: I8058bad949c973981013d099dba78b3e64cee0aa
Reviewed-on: https://gerrit.libreoffice.org/68735
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | desktop/source/app/cmdlinehelp.cxx | 6 | ||||
-rw-r--r-- | sysui/desktop/man/libreoffice.1 | 7 |
2 files changed, 9 insertions, 4 deletions
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 |