Fix #11460 - Show help message for unhandled f subcommands (#11547)

This commit is contained in:
radare 2018-09-17 09:50:31 +02:00 committed by GitHub
parent 5c6b976343
commit 522ab3c84f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -972,12 +972,13 @@ rep:
}
break;
case '?':
default:
if (input[1]) {
core->num->value = r_flag_get (core->flags, input + 1)? 1: 0;
} else {
r_core_cmd_help (core, help_msg_f);
break;
}
r_core_cmd_help (core, help_msg_f);
break;
}
}
free (str);
return 0;