diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2024-10-26 13:27:25 +0100 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2024-10-28 12:36:19 +0000 |
commit | 70713303b6399e0627c1960da4fbab48f9cf71e7 (patch) | |
tree | f73a0c0ee5f53fa1759138a138e4d3de550c0edb /src/bitcoind.cpp | |
parent | 332655cb52c8f8ef64b29b09e38ef5d61235ed21 (diff) |
scripted-diff: Rename `PACKAGE_*` variables to `CLIENT_*`
This change ensures consistent use of the `CLIENT_` namespace everywhere
in the repository.
-BEGIN VERIFY SCRIPT-
ren() { sed -i "s/\<$1\>/$2/g" $( git grep -l "$1" ./cmake ./src :\(exclude\)./src/secp256k1 ./test ) ; }
ren PACKAGE_NAME CLIENT_NAME
ren PACKAGE_VERSION CLIENT_VERSION_STRING
ren PACKAGE_URL CLIENT_URL
ren PACKAGE_BUGREPORT CLIENT_BUGREPORT
-END VERIFY SCRIPT-
Diffstat (limited to 'src/bitcoind.cpp')
-rw-r--r-- | src/bitcoind.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp index 192676a10b..e9d78f2888 100644 --- a/src/bitcoind.cpp +++ b/src/bitcoind.cpp @@ -136,12 +136,12 @@ static bool ProcessInitCommands(ArgsManager& args) { // Process help and version before taking care about datadir if (HelpRequested(args) || args.IsArgSet("-version")) { - std::string strUsage = PACKAGE_NAME " version " + FormatFullVersion() + "\n"; + std::string strUsage = CLIENT_NAME " version " + FormatFullVersion() + "\n"; if (args.IsArgSet("-version")) { strUsage += FormatParagraph(LicenseInfo()); } else { - strUsage += "\nUsage: bitcoind [options] Start " PACKAGE_NAME "\n" + strUsage += "\nUsage: bitcoind [options] Start " CLIENT_NAME "\n" "\n"; strUsage += args.GetHelpMessage(); } @@ -195,7 +195,7 @@ static bool AppInit(NodeContext& node) if (args.GetBoolArg("-daemon", DEFAULT_DAEMON) || args.GetBoolArg("-daemonwait", DEFAULT_DAEMONWAIT)) { #if HAVE_DECL_FORK - tfm::format(std::cout, PACKAGE_NAME " starting\n"); + tfm::format(std::cout, CLIENT_NAME " starting\n"); // Daemonize switch (fork_daemon(1, 0, daemon_ep)) { // don't chdir (1), do close FDs (0) |