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>
This commit is contained in:
tagezi 2016-12-17 17:23:56 +02:00 committed by Mike Kaganski
parent d47847116f
commit 2c9972b8d4

View File

@ -40,6 +40,13 @@ namespace desktop
const char aCmdLineHelp[] = const char aCmdLineHelp[] =
"Usage: %CMDNAME [argument...]\n" "Usage: %CMDNAME [argument...]\n"
" argument - switches, switch parameters and document URIs (filenames).\n\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" "Getting help and information:\n"
" --help | -h | -? Shows this help and quits.\n" " --help | -h | -? Shows this help and quits.\n"
" --helpwriter Opens built-in or online Help on Writer.\n" " --helpwriter Opens built-in or online Help on Writer.\n"