From 2c9972b8d40dce72cc6f56f1d44db838bd0ece10 Mon Sep 17 00:00:00 2001 From: tagezi Date: Sat, 17 Dec 2016 17:23:56 +0200 Subject: [PATCH] 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 Tested-by: Mike Kaganski --- desktop/source/app/cmdlinehelp.cxx | 7 +++++++ 1 file changed, 7 insertions(+) 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"