Small fix for "winheight" usage

Message ID 20180903214245.28402-1-tom@tromey.com
State New
Headers show
Series
  • Small fix for "winheight" usage
Related show

Commit Message

Tom Tromey Sept. 3, 2018, 9:42 p.m.
I noticed that the usage string for "winheight" has a couple of
extraneous ">"s in it.  I must have forgotten to remove these back
when I changed the text to use the GNU style for metasyntactic
variables.

gdb/ChangeLog
2018-09-03  Tom Tromey  <tom@tromey.com>

	* tui/tui-win.c (WIN_HEIGHT_USAGE): Remove extra ">"s.
---
 gdb/ChangeLog     | 4 ++++
 gdb/tui/tui-win.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

-- 
2.13.6

Comments

Tom Tromey Sept. 26, 2018, 11:15 a.m. | #1
>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:


Tom> I noticed that the usage string for "winheight" has a couple of
Tom> extraneous ">"s in it.  I must have forgotten to remove these back
Tom> when I changed the text to use the GNU style for metasyntactic
Tom> variables.

I'm checking this in now.

Tom

Patch

diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c
index c42d7f036cd..225c6e9d4b3 100644
--- a/gdb/tui/tui-win.c
+++ b/gdb/tui/tui-win.c
@@ -78,7 +78,7 @@  static void parse_scrolling_args (const char *,
 /***************************************
 ** DEFINITIONS
 ***************************************/
-#define WIN_HEIGHT_USAGE    "Usage: winheight WINDOW-NAME> [+ | -] NUM-LINES>\n"
+#define WIN_HEIGHT_USAGE    "Usage: winheight WINDOW-NAME [+ | -] NUM-LINES\n"
 #define FOCUS_USAGE         "Usage: focus [WINDOW-NAME | next | prev]\n"
 
 /***************************************