cmd->add_option("-x,--expiration",parse_exipration,localized("set the time in milliseconds before a transaction expires, defaults to 1000ms"));
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"));
permissions->add_option("authority",authorityJsonOrFile,localized("[delete] NULL, [create/update] JSON string or filename defining the authority"))->required();
permissions->add_option("parent",parentStr,localized("[create] The permission name of this parents permission (Defaults to: \"Active\")"));
permissions->add_flag("-s,--skip-sign",skip_sign,localized("Specify if unlocked wallet keys should be used to sign transaction"));
permissions->add_option("type",typeStr,localized("the type of the action"))->required();
permissions->add_option("requirement",requirementStr,localized("[delete] NULL, [set/update] The permission name require for executing the given action"))->required();
permissions->add_flag("-s,--skip-sign",skip_sign,localized("Specify if unlocked wallet keys should be used to sign transaction"));
add_standard_transaction_options(permissions);
permissions->set_callback([this]{
Nameaccount=Name(accountStr);
...
...
@@ -486,6 +488,7 @@ int main( int argc, char** argv ) {
createAccount->add_option("OwnerKey",ownerKey,localized("The owner public key for the account"))->required();
createAccount->add_option("ActiveKey",activeKey,localized("The active public key for the account"))->required();
createAccount->add_flag("-s,--skip-signature",skip_sign,localized("Specify that unlocked wallet keys should not be used to sign transaction"));