aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-06-03 22:43:57 +0200
committerTom de Vries <tdevries@suse.de>2023-06-03 22:43:57 +0200
commit2829d6da3803881a53b38ebddee4bf42be80432b (patch)
tree85e00fc56502cc5633bec152d67c38686bcc9f7d /gdb/tui
parent8def33e68cc49cf5a539a123f71c82452c8c1ccb (diff)
downloadgdb-2829d6da3803881a53b38ebddee4bf42be80432b.zip
gdb-2829d6da3803881a53b38ebddee4bf42be80432b.tar.gz
gdb-2829d6da3803881a53b38ebddee4bf42be80432b.tar.bz2
[gdb/tui] Fix help text of show tui tab-width
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>
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c
index 7abd1e2..08a21fb 100644
--- a/gdb/tui/tui-win.c
+++ b/gdb/tui/tui-win.c
@@ -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);