gnucash master: Small wording improvements to the gnucash command line options

Geert Janssens gjanssens at code.gnucash.org
Thu Aug 13 05:57:48 EDT 2015


Updated	 via  https://github.com/Gnucash/gnucash/commit/fa6fbc55 (commit)
	from  https://github.com/Gnucash/gnucash/commit/6c2c1ce3 (commit)



commit fa6fbc5585c1ea8d9c8c3122bd692225b3dae1c3
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Thu Aug 13 12:34:19 2015 +0200

    Small wording improvements to the gnucash command line options
    
    This is based on a suggestion by Daniel GOUJOT on the devel mailing list

diff --git a/src/bin/gnucash-bin.c b/src/bin/gnucash-bin.c
index 0328d99..9b5aff0 100644
--- a/src/bin/gnucash-bin.c
+++ b/src/bin/gnucash-bin.c
@@ -98,7 +98,7 @@ static GOptionEntry options[] =
 
     {
         "debug", '\0', 0, G_OPTION_ARG_NONE, &debugging,
-        N_("Enable debugging mode: increasing logging to provide deep detail."), NULL
+        N_("Enable debugging mode: provide deep detail in the logs.\nThis is equivalent to: --log \"=info\" --log \"qof=info\" --log \"gnc=info\""), NULL
     },
 
     {
@@ -108,7 +108,7 @@ static GOptionEntry options[] =
 
     {
         "log", '\0', 0, G_OPTION_ARG_STRING_ARRAY, &log_flags,
-        N_("Log level overrides, of the form \"log.ger.path={debug,info,warn,crit,error}\""),
+        N_("Log level overrides, of the form \"modulename={debug,info,warn,crit,error}\"\nExamples: \"--log qof=debug\" or \"--log gnc.backend.file.sx=info\"\nThis can be invoked multiple times."),
         NULL
     },
 



Summary of changes:
 src/bin/gnucash-bin.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list