summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authortagezi <lera.goncharuk@gmail.com>2016-12-17 17:23:56 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2016-12-17 19:17:58 +0000
commit2c9972b8d40dce72cc6f56f1d44db838bd0ece10 (patch)
treec6763bf95dacea3ee3732ee2375219127a592653 /desktop
parentd47847116f30038cb7b3c8f6650e3c9892380fbf (diff)
tdf#104441 Addition to output to the console help
There is no documentation in the help on how to open a file and automatically run a macro Change-Id: I94c5e87ae0f573a5546a83b118021744b439c7cd Reviewed-on: https://gerrit.libreoffice.org/32122 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/cmdlinehelp.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/source/app/cmdlinehelp.cxx b/desktop/source/app/cmdlinehelp.cxx
index 6103c90cbdf9..27e4d8116698 100644
--- a/desktop/source/app/cmdlinehelp.cxx
+++ b/desktop/source/app/cmdlinehelp.cxx
@@ -40,6 +40,13 @@ namespace desktop
const char aCmdLineHelp[] =
"Usage: %CMDNAME [argument...]\n"
" argument - switches, switch parameters and document URIs (filenames).\n\n"
+ "Using without special arguments:\n"
+ "Opens the start center, if it is used without any arguments.\n"
+ " {file} Tries to open the file (files) in the components\n"
+ " suitable for them.\n"
+ " {file} {macro:///Library.Module.MacroName}\n"
+ " Opens the file and runs specified macros from\n"
+ " the file.\n\n"
"Getting help and information:\n"
" --help | -h | -? Shows this help and quits.\n"
" --helpwriter Opens built-in or online Help on Writer.\n"