Fix iz help messages

This commit is contained in:
Jody Frankowski 2014-09-24 23:01:03 +02:00 committed by pancake
parent de73ac8670
commit d45abe9117

View File

@ -163,7 +163,7 @@ static int cmd_info(void *data, const char *input) {
eprintf ("Usage: ik [sdb-query]\n"); eprintf ("Usage: ik [sdb-query]\n");
} }
break; break;
case 'o': case 'o':
{ {
const char *fn = input[1]==' '? input+2: cf->desc->name; const char *fn = input[1]==' '? input+2: cf->desc->name;
ut64 laddr = UT64_MAX; ut64 laddr = UT64_MAX;
@ -189,7 +189,7 @@ static int cmd_info(void *data, const char *input) {
case 'i': RBININFO ("imports",R_CORE_BIN_ACC_IMPORTS); break; case 'i': RBININFO ("imports",R_CORE_BIN_ACC_IMPORTS); break;
case 'I': RBININFO ("info", R_CORE_BIN_ACC_INFO); break; case 'I': RBININFO ("info", R_CORE_BIN_ACC_INFO); break;
case 'e': RBININFO ("entries",R_CORE_BIN_ACC_ENTRIES); break; case 'e': RBININFO ("entries",R_CORE_BIN_ACC_ENTRIES); break;
case 'z': case 'z':
if (input[1] == 'z') { if (input[1] == 'z') {
/* TODO: reimplement in C to avoid forks */ /* TODO: reimplement in C to avoid forks */
char *ret; char *ret;
@ -249,7 +249,8 @@ static int cmd_info(void *data, const char *input) {
"ir|iR", "", "Relocs", "ir|iR", "", "Relocs",
"is", "", "Symbols", "is", "", "Symbols",
"iS", "", "Sections", "iS", "", "Sections",
"iz", "", "Strings", "iz", "", "Strings in data sections",
"izz", "", "Search for Strings in the whole binary",
NULL NULL
}; };
r_core_cmd_help(core, help_message); r_core_cmd_help(core, help_message);