diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2019-05-23 12:58:39 +0000 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2019-05-23 21:42:14 +0200 |
commit | a4066c770fec13af06a65a268c306a1f706f2cf0 (patch) | |
tree | 726e57afd4de0f84e84322d8beeede91de7b546a /desktop/source/app | |
parent | bbaeba5b7fe04b67229d96ffe1ab1735d7c86c57 (diff) |
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@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'desktop/source/app')
-rw-r--r-- | desktop/source/app/cmdlinehelp.cxx | 12 |
1 files changed, 7 insertions, 5 deletions
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" |