Changeset View
Changeset View
Standalone View
Standalone View
src/currencyunit.cpp
// Copyright (c) 2021 The Bitcoin Developers | // Copyright (c) 2021 The Bitcoin developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include <currencyunit.h> | #include <currencyunit.h> | ||||
#include <util/system.h> | #include <util/system.h> | ||||
void SetupCurrencyUnitOptions(ArgsManager &argsman) { | void SetupCurrencyUnitOptions(ArgsManager &argsman) { | ||||
// whether to use eCash default unit and address prefix | // whether to use eCash default unit and address prefix | ||||
argsman.AddArg("-ecash", | argsman.AddArg("-ecash", | ||||
strprintf("Use the eCash prefixes and units (default: %s)", | strprintf("Use the eCash prefixes and units (default: %s)", | ||||
DEFAULT_ECASH ? "true" : "false"), | DEFAULT_ECASH ? "true" : "false"), | ||||
ArgsManager::ALLOW_BOOL, OptionsCategory::OPTIONS); | ArgsManager::ALLOW_BOOL, OptionsCategory::OPTIONS); | ||||
} | } |