[Libreoffice-commits] core.git: desktop/source
tagezi
lera.goncharuk at gmail.com
Sat Dec 17 19:18:39 UTC 2016
desktop/source/app/cmdlinehelp.cxx | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit 2c9972b8d40dce72cc6f56f1d44db838bd0ece10
Author: tagezi <lera.goncharuk at gmail.com>
Date: Sat Dec 17 17:23:56 2016 +0200
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 at collabora.com>
Tested-by: Mike Kaganski <mike.kaganski at collabora.com>
diff --git a/desktop/source/app/cmdlinehelp.cxx b/desktop/source/app/cmdlinehelp.cxx
index 6103c90..27e4d81 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"
More information about the Libreoffice-commits
mailing list