("enable-stale-production",boost::program_options::bool_switch()->notifier([this](boole){my->_production_enabled=e;}),"Enable block production, even if the chain is stale.")
("enable-stale-production,e",boost::program_options::bool_switch()->notifier([this](boole){my->_production_enabled=e;}),"Enable block production, even if the chain is stale.")
cmd->add_option("-x,--expiration",parse_exipration,localized("set the time in seconds before a transaction expires, defaults to 30s"));
cmd->add_flag("-f,--force-unique",tx_force_unique,localized("force the transaction to be unique. this will consume extra bandwidth and remove any protections against accidently issuing the same transaction multiple times"));
cmd->add_flag("-s,--skip-sign",tx_skip_sign,localized("Specify if unlocked wallet keys should be used to sign transaction"));
cmd->add_flag("-j,--json",tx_print_json,localized("print result as json"));
cmd->add_flag("-d,--dont-broadcast",tx_dont_broadcast,localized("don't broadcast transaction to the network (just print to stdout)"));
stringmsg="An account and permission level to authorize, as in 'account@permission'";
@@ -705,10 +765,12 @@ int main( int argc, char** argv ) {
// get transactions
stringskip_seq_str;
stringnum_seq_str;
boolprintjson=false;
autogetTransactions=get->add_subcommand("transactions",localized("Retrieve all transactions with specific account name referenced in their scope"),false);
getTransactions->add_option("account_name",account_name,localized("name of account to query on"))->required();
getTransactions->add_option("skip_seq",skip_seq_str,localized("Number of most recent transactions to skip (0 would start at most recent transaction)"));
getTransactions->add_option("num_seq",num_seq_str,localized("Number of transactions to return"));
getTransactions->add_flag("--json,-j",printjson,localized("print full json"));
getTransactions->set_callback([&]{
fc::mutable_variant_objectarg;
if(skip_seq_str.empty()){
...
...
@@ -729,19 +791,30 @@ int main( int argc, char** argv ) {