gnucash maint: Bug 798008 - Option '--log' cannot be specified more than once

Geert Janssens gjanssens at code.gnucash.org
Fri Nov 13 04:58:21 EST 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/e9a117b2 (commit)
	from  https://github.com/Gnucash/gnucash/commit/79951e09 (commit)



commit e9a117b21bda9c9810cff2f543efa9b283d95c08
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Nov 13 10:58:14 2020 +0100

    Bug 798008 - Option '--log' cannot be specified more than once
    
    Wrapping the std::vector to hold the log flags is unneeded and actually harmful.
    Just work on the vector directly. If user doesn't specify any '--log' options
    the vector will just be empty.



Summary of changes:
 gnucash/gnucash-core-app.cpp | 27 ++++++++++++---------------
 gnucash/gnucash-core-app.hpp |  2 +-
 2 files changed, 13 insertions(+), 16 deletions(-)



More information about the gnucash-patches mailing list