Skip to content

Commit

Permalink
debugger: clean up trace command
Browse files Browse the repository at this point in the history
Signed-off-by: Balazs Scheidler <[email protected]>
  • Loading branch information
bazsi committed Oct 27, 2024
1 parent 11144b7 commit bd2cdb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/debugger/debugger.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ _cmd_help(Debugger *self, gint argc, gchar *argv[])
printf("syslog-ng interactive console, the following commands are available\n\n"
" help, h, or ? Display this help\n"
" continue or c Continue until the next breakpoint\n"
" trace Display timing information as the message traverses the config\n"
" trace or t Trace this message along the configuration\n"
" info Display information about the current execution state\n"
" list or l Display source code at the current location\n"
" print, p Print the current log message\n"
Expand Down Expand Up @@ -334,6 +334,7 @@ struct
{ "quit", _cmd_quit },
{ "q", _cmd_quit },
{ "trace", _cmd_trace, .requires_breakpoint_site = TRUE },
{ "t", _cmd_trace, .requires_breakpoint_site = TRUE },
{ "info", _cmd_info, .requires_breakpoint_site = TRUE },
{ "i", _cmd_info, .requires_breakpoint_site = TRUE },
{ NULL, NULL }
Expand Down

0 comments on commit bd2cdb6

Please sign in to comment.