From c23ca6fb12d18bc4e8298e834fa13086fcbee990 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Fri, 29 May 2020 16:00:52 -0700 Subject: [PATCH] Make run-report member variable names consistent. --- gnucash/gnucash-cli.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gnucash/gnucash-cli.cpp b/gnucash/gnucash-cli.cpp index 4e44bca38a..762857d479 100644 --- a/gnucash/gnucash-cli.cpp +++ b/gnucash/gnucash-cli.cpp @@ -56,9 +56,9 @@ namespace Gnucash { void configure_program_options (void); bool m_add_quotes; - std::string run_report; - std::string export_type; - std::string output_file; + std::string m_run_report; + std::string m_export_type; + std::string m_output_file; }; } @@ -80,13 +80,13 @@ Gnucash::GnucashCli::parse_command_line (int argc, char **argv) as().c_str()); if (m_opt_map.count ("run-report")) - run_report = m_opt_map["run-report"].as(); + m_run_report = m_opt_map["run-report"].as(); if (m_opt_map.count ("export-type")) - export_type = m_opt_map["export-type"].as(); + m_export_type = m_opt_map["export-type"].as(); if (m_opt_map.count ("output-file")) - output_file = m_opt_map["output-file"].as(); + m_output_file = m_opt_map["output-file"].as(); } // Define command line options specific to gnucash-cli.