message: Renamed table options for index and key-type
diff: @@ -1771,33 +1771,37 @@ int main( int argc, char** argv ) {
  string lower;
  string upper;
  string table_key;
  - string sec_key_type;
  + string key_type;
  bool binary = false;
  uint32_t limit = 10;
  - uint32_t sec_index_position = 0;
  + string index_position;
  auto getTable = get->add_subcommand( "table", localized("Retrieve the contents of a database table"), false);
  getTable->add_option( "contract", code, localized("The contract who owns the table") )->required();
  getTable->add_option( "scope", scope, localized("The scope within the contract in which the table is found") )->required();
  getTable->add_option( "table", table, localized("The name of the table as specified by the contract abi") )->required();
  getTable->add_option( "-b,--binary", binary, localized("Return the value as BINARY rather than using abi to interpret as JSON") );
  getTable->add_option( "-l,--limit", limit, localized("The maximum number of rows to return") );
  - getTable->add_option( "-k,--key", table_key, localized("The name of the key to index by as defined by the abi, defaults to primary key") );
  + getTable->add_option( "-k,--key", table_key, localized("Deprecated") );
  getTable->add_option( "-L,--lower", lower, localized("JSON representation of lower bound value of key, defaults to first") );
  getTable->add_option( "-U,--upper", upper, localized("JSON representation of upper bound value value of key, defaults to last") );
  - getTable->add_option( "-t,--seckeytype", sec_key_type, localized("Secondary key type(i64,i128,i256,float64,float128)"));
  - getTable->add_option( "-p,--secindexposition", sec_index_position, localized("Secondary index position, default to 0(first secondary index)"));
  + getTable->add_option( "--index", index_position,
  + localized("Index number, 1 - primary (first), 2 - secondary index (in order defined by multi_index), 3 - third index, etc.\n"
  + "\t\t\t\tNumber or name of index can be specified, e.g. 'secondary' or '2'."));
  + getTable->add_option( "--key-type", key_type,
  + localized("The key type of --index, primary only supports (i64), all others support (i64, i128, i256, float64, float128).\n"
  + "\t\t\t\tSpecial type 'name' indicates an account name."));
  getTable->set_callback([&] {
  auto result = call(get_table_func, fc::mutable_variant_object("json", !binary)
  ("code",code)
  ("scope",scope)
  ("table",table)
  - ("table_key",table_key)
  + ("table_key",table_key) // not used
  ("lower_bound",lower)
  ("upper_bound",upper)
  ("limit",limit)
  - ("sec_key_type",sec_key_type)
  - ("sec_index_position", sec_index_position)
  + ("key_type",key_type)
  + ("index_position", index_position)
  );
  std::cout << fc::json::to_pretty_string(result)
  