diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 535249196a8..46acb630aa9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2020-01-31 Andrew Burgess + + * tui/tui-win.c (_initialize_tui_win): Update help text for '+', + '-', '<', and '>' commands. + 2020-01-29 Pedro Alves Sergio Durigan Junior diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c index 8b7c39916a3..185ae26f698 100644 --- a/gdb/tui/tui-win.c +++ b/gdb/tui/tui-win.c @@ -1063,16 +1063,24 @@ FOCUS_USAGE set_cmd_completer (cmd, focus_completer); add_com ("+", class_tui, tui_scroll_forward_command, _("\ Scroll window forward.\n\ -Usage: + [WIN] [N]")); +Usage: + [N] [WIN]\n\ +Scroll window WIN N lines forwards. Both WIN and N are optional, N\n\ +defaults to 1, and WIN defaults to the currently focused window.")); add_com ("-", class_tui, tui_scroll_backward_command, _("\ Scroll window backward.\n\ -Usage: - [WIN] [N]")); +Usage: - [N] [WIN]\n\ +Scroll window WIN N lines backwards. Both WIN and N are optional, N\n\ +defaults to 1, and WIN defaults to the currently focused window.")); add_com ("<", class_tui, tui_scroll_left_command, _("\ Scroll window text to the left.\n\ -Usage: < [WIN] [N]")); +Usage: < [N] [WIN]\n\ +Scroll window WIN N characters left. Both WIN and N are optional, N\n\ +defaults to 1, and WIN defaults to the currently focused window.")); add_com (">", class_tui, tui_scroll_right_command, _("\ Scroll window text to the right.\n\ -Usage: > [WIN] [N]")); +Usage: > [N] [WIN]\n\ +Scroll window WIN N characters right. Both WIN and N are optional, N\n\ +defaults to 1, and WIN defaults to the currently focused window.")); /* Define the tui control variables. */ add_setshow_enum_cmd ("border-kind", no_class, tui_border_kind_enums,