Changeset View
Changeset View
Standalone View
Standalone View
src/bitcoin-tx.cpp
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | try { | ||||
return EXIT_FAILURE; | return EXIT_FAILURE; | ||||
} | } | ||||
fCreateBlank = gArgs.GetBoolArg("-create", false); | fCreateBlank = gArgs.GetBoolArg("-create", false); | ||||
if (argc < 2 || HelpRequested(gArgs)) { | if (argc < 2 || HelpRequested(gArgs)) { | ||||
// First part of help message is specific to this utility | // First part of help message is specific to this utility | ||||
std::string strUsage = | std::string strUsage = | ||||
strprintf(_("%s bitcoin-tx utility version"), _(PACKAGE_NAME)) + | PACKAGE_NAME " bitcoin-tx utility version " + FormatFullVersion() + | ||||
" " + FormatFullVersion() + "\n\n" + _("Usage:") + "\n" + | "\n\n" + | ||||
" bitcoin-tx [options] <hex-tx> [commands] " + | "Usage: bitcoin-tx [options] <hex-tx> [commands] Update " | ||||
_("Update hex-encoded bitcoin transaction") + "\n" + | "hex-encoded bitcoin transaction\n" + | ||||
" bitcoin-tx [options] -create [commands] " + | "or: bitcoin-tx [options] -create [commands] Create " | ||||
_("Create hex-encoded bitcoin transaction") + "\n" + "\n"; | "hex-encoded bitcoin transaction\n" + | ||||
"\n"; | |||||
fprintf(stdout, "%s", strUsage.c_str()); | fprintf(stdout, "%s", strUsage.c_str()); | ||||
strUsage = HelpMessageGroup(_("Options:")); | strUsage = HelpMessageGroup(_("Options:")); | ||||
strUsage += HelpMessageOpt("-?", _("This help message")); | strUsage += HelpMessageOpt("-?", _("This help message")); | ||||
strUsage += HelpMessageOpt("-create", _("Create new, empty TX.")); | strUsage += HelpMessageOpt("-create", _("Create new, empty TX.")); | ||||
strUsage += HelpMessageOpt("-json", _("Select JSON output")); | strUsage += HelpMessageOpt("-json", _("Select JSON output")); | ||||
strUsage += | strUsage += | ||||
▲ Show 20 Lines • Show All 815 Lines • Show Last 20 Lines |