Skip to content

Commit

Permalink
command: added "Platform commands:" message before platform-specific …
Browse files Browse the repository at this point in the history
…commands in cmd_help
  • Loading branch information
Misaka0x2730 authored and dragonmux committed Aug 16, 2024
1 parent eaa52e9 commit ea81f02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/command.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ bool cmd_help(target_s *t, int argc, const char **argv)
for (const command_s *cmd = cmd_list; cmd->cmd; cmd++)
gdb_outf("\t%s -- %s\n", cmd->cmd, cmd->help);
#ifdef PLATFORM_HAS_CUSTOM_COMMANDS
gdb_out("Platform commands:\n");
for (const command_s *cmd = platform_cmd_list; cmd->cmd; ++cmd)
gdb_outf("\t%s -- %s\n", cmd->cmd, cmd->help);
#endif
Expand Down

0 comments on commit ea81f02

Please sign in to comment.