@@ -161,6 +183,13 @@ int main(int argc, const char** argv){
...
@@ -161,6 +183,13 @@ int main(int argc, const char** argv){
"Name of database table is in"},
"Name of database table is in"},
{"type",'t',arg_integer,&_type,"type",
{"type",'t',arg_integer,&_type,"type",
"Type of objects to show, see NdbDictionary.hpp for numbers(default = 0)"},
"Type of objects to show, see NdbDictionary.hpp for numbers(default = 0)"},
{"connect-string",'c',arg_string,&_connect_str,
"Set connect string for connecting to ndb_mgmd. <constr>=\"host=<hostname:port>[;nodeid=<id>]\". Overides specifying entries in NDB_CONNECTSTRING and config file",
"<constr>"},
#ifndef DBUG_OFF
{"debug",0,arg_string,&debug_option,
"Specify debug options e.g. d:t:i:o,out.trace","options"},
#endif
{"usage",'?',arg_flag,&_help,"Print help",""}
{"usage",'?',arg_flag,&_help,"Print help",""}
};
};
intnum_args=sizeof(args)/sizeof(args[0]);
intnum_args=sizeof(args)/sizeof(args[0]);
...
@@ -179,10 +208,18 @@ int main(int argc, const char** argv){
...
@@ -179,10 +208,18 @@ int main(int argc, const char** argv){