mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-08-04 05:54:48 +02:00
wallettool: Add experimental warning to importfromcoldcard command
This commit is contained in:
parent
989cb175f1
commit
69dec40189
@ -256,6 +256,8 @@ bool ExecuteWalletToolFunc(const ArgsManager& args, const std::string& command)
|
|||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
} else if (command == "importfromcoldcard") {
|
} else if (command == "importfromcoldcard") {
|
||||||
|
tfm::format(std::cerr, "WARNING: The \"importfromcoldcard\" command is experimental and will likely be removed or changed incompatibly in a future version.\n");
|
||||||
|
|
||||||
std::string filename = gArgs.GetArg("-dumpfile", "");
|
std::string filename = gArgs.GetArg("-dumpfile", "");
|
||||||
if (filename.empty()) {
|
if (filename.empty()) {
|
||||||
tfm::format(std::cerr, "To use importfromcoldcard, -dumpfile=<filename> must be provided.\n");
|
tfm::format(std::cerr, "To use importfromcoldcard, -dumpfile=<filename> must be provided.\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user