std::cerr<<"ERROR: Either --buy-ram or --buy-ram-kbytes with non-zero value is required"<<std::endl;
return;
}
EOSC_ASSERT(buy_ram_eos.size()||buy_ram_bytes_in_kbytes||buy_ram_bytes,"ERROR: One of --buy-ram, --buy-ram-kbytes or --buy-ram-bytes should have non-zero value");
EOSC_ASSERT(!buy_ram_bytes_in_kbytes||!buy_ram_bytes,"ERROR: --buy-ram-kbytes and --buy-ram-bytes cannot be set at the same time");
buyram->add_option("amount",amount,localized("The amount of EOS to pay for RAM, or number of kbytes of RAM if --kbytes is set"))->required();
buyram->add_flag("--kbytes,-k",kbytes,localized("buyram in number of kbytes"));
buyram->add_option("amount",amount,localized("The amount of EOS to pay for RAM, or number of bytes/kibibytes of RAM if --bytes/--kbytes is set"))->required();
buyram->add_flag("--kbytes,-k",kbytes,localized("buyram in number of kibibytes (KiB)"));
buyram->add_flag("--bytes,-b",bytes,localized("buyram in number of bytes"));