]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/tui] Fix help text of show tui tab-width
authorTom de Vries <tdevries@suse.de>
Sat, 3 Jun 2023 20:43:57 +0000 (22:43 +0200)
committerTom de Vries <tdevries@suse.de>
Sat, 3 Jun 2023 20:43:57 +0000 (22:43 +0200)
I noticed:
...
(gdb) help show tui tab-width
Show the tab witdh, in characters, for the TUI.
This variable controls how many spaces are used to display a tab character.
...
a typo: "witdh".

Fix this by using "width" instead.

Reviewed-By: Tom Tromey <tom@tromey.com>
gdb/tui/tui-win.c

index 7abd1e225b96cf6a8f426c96503ab7ebe7c1c801..08a21fbbd44f142e9820b3b9a90121a36cee992b 100644 (file)
@@ -1255,7 +1255,7 @@ This variable controls the attributes to use for the active window border:\n\
   add_setshow_zuinteger_cmd ("tab-width", no_class,
                             &internal_tab_width, _("\
 Set the tab width, in characters, for the TUI."), _("\
-Show the tab witdh, in characters, for the TUI."), _("\
+Show the tab width, in characters, for the TUI."), _("\
 This variable controls how many spaces are used to display a tab character."),
                             tui_set_tab_width, tui_show_tab_width,
                             &tui_setlist, &tui_showlist);