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

Jan-Marek Glogowski (via logerrit) logerrit at kemper.freedesktop.org
Thu May 23 19:43:23 UTC 2019


 desktop/source/app/cmdlinehelp.cxx |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

New commits:
commit a4066c770fec13af06a65a268c306a1f706f2cf0
Author:     Jan-Marek Glogowski <glogow at fbihome.de>
AuthorDate: Thu May 23 12:58:39 2019 +0000
Commit:     Jan-Marek Glogowski <glogow at fbihome.de>
CommitDate: Thu May 23 21:42:14 2019 +0200

    Fix documented 'soffice --accept' parameter syntax
    
    The parameter value for '--accept' is no UNO-Url, but uses a
    similar syntax. This was wrongly changed in commit d78f29ab3f40
    ("tdf#100836 "Starting the LibreOffice Software With Parameters"
    help update").
    
    So this changes the parameter value back to {accept-string},
    documents its syntax and adds some common examples.
    
    Change-Id: If8159b1d982c54e3dca6d27a1c400d2450ff2d1e
    Reviewed-on: https://gerrit.libreoffice.org/72859
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
    Tested-by: Jenkins

diff --git a/desktop/source/app/cmdlinehelp.cxx b/desktop/source/app/cmdlinehelp.cxx
index eb8c683bd2c4..4f6ff59aee79 100644
--- a/desktop/source/app/cmdlinehelp.cxx
+++ b/desktop/source/app/cmdlinehelp.cxx
@@ -96,14 +96,16 @@ namespace desktop
         "   --safe-mode         Starts in a safe mode, i.e. starts temporarily with a   \n"
         "                       fresh user profile and helps to restore a broken        \n"
         "                       configuration.                                          \n"
-        "   --accept={UNO-URL}  Specifies a UNO-URL connect-string to create a UNO      \n"
+        "   --accept={connect-string}  Specifies a UNO connect-string to create a UNO   \n"
         "                       acceptor through which other programs can connect to    \n"
         "                       access the API. Note that API access allows execution   \n"
         "                       of arbitrary commands.                                  \n"
-        "                       The syntax of a 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"
+        "                       The syntax of the {connect-string} is:                  \n"
+        "                         connection-type,params;protocol-name,params           \n"
+        "                       e.g.  pipe,name={some name};urb                         \n"
+        "                         or  socket,host=localhost,port=54321;urb              \n"
+        "   --unaccept={connect-string}  Closes an acceptor that was created with       \n"
+        "                       --accept. Use --unaccept=all to close all acceptors.    \n"
         "   --language={lang}   Uses specified language, if language is not selected    \n"
         "                       yet for UI. The lang is a tag of the language in IETF   \n"
         "                       language tag.                                           \n\n"


More information about the Libreoffice-commits mailing list