mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-02 10:16:21 +00:00
Implement 'iaj' command
This commit is contained in:
parent
eae051efd3
commit
feb42ff61a
@ -586,7 +586,7 @@ static int cmd_eval(void *data, const char *input) {
|
||||
" ecr set random palette\n"
|
||||
" ecs show a colorful palette\n"
|
||||
" ecf dark|white load white color scheme template\n"
|
||||
" ec prompt red change coloro of prompt\n"
|
||||
" ec prompt red change color of prompt\n"
|
||||
"Available colors:\n"
|
||||
" rgb:000 24 bit hexadecimal rgb color\n"
|
||||
" red|green|blue|. well known ansi colors\n"
|
||||
|
@ -104,20 +104,14 @@ static int cmd_info(void *data, const char *input) {
|
||||
case 'c':
|
||||
case 'C': RBININFO (R_CORE_BIN_ACC_CLASSES); break;
|
||||
case 'a':
|
||||
if (input[1]=='*') {
|
||||
cmd_info (core, "I*");
|
||||
cmd_info (core, "e*");
|
||||
cmd_info (core, "i*");
|
||||
cmd_info (core, "s*");
|
||||
cmd_info (core, "S*");
|
||||
cmd_info (core, "z*");
|
||||
} else {
|
||||
cmd_info (core, "I");
|
||||
cmd_info (core, "e");
|
||||
cmd_info (core, "i");
|
||||
cmd_info (core, "s");
|
||||
cmd_info (core, "S");
|
||||
cmd_info (core, "z");
|
||||
{
|
||||
char *p, cmd[3], chars[] = "IeisSz";
|
||||
for (p = chars; *p; p++) {
|
||||
cmd[0] = *p;
|
||||
cmd[1] = input[1];
|
||||
cmd[2] = 0;
|
||||
cmd_info (core, cmd);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case '?':
|
||||
|
Loading…
Reference in New Issue
Block a user