diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-06-17 12:30:25 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2014-12-19 12:29:36 +0000 |
commit | c9c24adceb7bfaf9ebe0063d8283bf7b50551d5a (patch) | |
tree | a32603a0c62206ee844f660cbd2f40bc98e40bd6 /android-commands.h | |
parent | 483fbff485b3a9d6adc9e0df9074a99a972b1c00 (diff) |
android-console: Make 'help' output match the classic emulator
Implement the 'help' command ourselves rather than using the
monitor's usual version, so we can make the output text match the
format of the classic emulator. This might not be necessary but
perhaps external tools are parsing the output to see what commands
are supported.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'android-commands.h')
-rw-r--r-- | android-commands.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/android-commands.h b/android-commands.h index 34a4fb34e..3d1423483 100644 --- a/android-commands.h +++ b/android-commands.h @@ -28,10 +28,10 @@ static mon_cmd_t android_redir_cmds[] = { static mon_cmd_t android_cmds[] = { { .name = "help|h|?", - .args_type = "name:S?", + .args_type = "helptext:S?", .params = "", .help = "print a list of commands", - .mhandler.cmd = do_help_cmd, + .mhandler.cmd = android_console_help, }, { .name = "kill", @@ -53,7 +53,7 @@ static mon_cmd_t android_cmds[] = { .params = "", .help = "manage port redirections", .mhandler.cmd = android_console_redir, - .sub_table = android_redir_cmds, + .sub_cmds.static_table = android_redir_cmds, }, { NULL, NULL, }, }; |