From 90bcde2cfbc8533aeb4a9d695398ff10299216ed Mon Sep 17 00:00:00 2001 From: John Ralls Date: Thu, 13 Oct 2022 12:37:54 -0700 Subject: [PATCH] [price-quotes] Rename Gnucash::quotes_info to Gnucash::check_finance_quote. --- gnucash/gnucash-cli.cpp | 2 +- gnucash/gnucash-commands.cpp | 2 +- gnucash/gnucash-commands.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gnucash/gnucash-cli.cpp b/gnucash/gnucash-cli.cpp index 95a8aecf62..b4cc543705 100644 --- a/gnucash/gnucash-cli.cpp +++ b/gnucash/gnucash-cli.cpp @@ -137,7 +137,7 @@ Gnucash::GnucashCli::start ([[maybe_unused]] int argc, [[maybe_unused]] char **a { if (m_quotes_cmd.front() == "info") { - return Gnucash::quotes_info (); + return Gnucash::check_finance_quote (); } else if (m_quotes_cmd.front() == "get") { diff --git a/gnucash/gnucash-commands.cpp b/gnucash/gnucash-commands.cpp index a655f472b7..8fc91e918c 100644 --- a/gnucash/gnucash-commands.cpp +++ b/gnucash/gnucash-commands.cpp @@ -300,7 +300,7 @@ scm_report_list ([[maybe_unused]] void *data, } int -Gnucash::quotes_info (void) +Gnucash::check_finance_quote (void) { gnc_prefs_init (); try diff --git a/gnucash/gnucash-commands.hpp b/gnucash/gnucash-commands.hpp index 09133cfc5b..5a32e9056b 100644 --- a/gnucash/gnucash-commands.hpp +++ b/gnucash/gnucash-commands.hpp @@ -34,7 +34,7 @@ using StrVec = std::vector; namespace Gnucash { - int quotes_info (void); + int check_finance_quote (void); int add_quotes (const bo_str& uri); int report_quotes (const char* source, const StrVec& commodities,