Use upper-case for metasyntactic in gdbserver help

Message ID 20190404225024.14406-1-tromey@adacore.com
State New, archived
Headers

Commit Message

Tom Tromey April 4, 2019, 10:50 p.m. UTC
  I noticed that "gdbserver --help" contains a few metasyntactic
variables that aren't in upper-case.  This patch fixes them to conform
to the GNU standard.

gdb/gdbserver/ChangeLog
2019-04-04  Tom Tromey  <tromey@adacore.com>

	* server.c (gdbserver_usage): Use upper-case for metasyntactic
	variables.
---
 gdb/gdbserver/ChangeLog | 5 +++++
 gdb/gdbserver/server.c  | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)
  

Comments

Kevin Buettner April 5, 2019, 2:15 a.m. UTC | #1
On Thu,  4 Apr 2019 16:50:24 -0600
Tom Tromey <tromey@adacore.com> wrote:

> I noticed that "gdbserver --help" contains a few metasyntactic
> variables that aren't in upper-case.  This patch fixes them to conform
> to the GNU standard.
> 
> gdb/gdbserver/ChangeLog
> 2019-04-04  Tom Tromey  <tromey@adacore.com>
> 
> 	* server.c (gdbserver_usage): Use upper-case for metasyntactic
> 	variables.

LGTM.

Kevin
  

Patch

diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c
index 25c62aad830..bfd120d2fb3 100644
--- a/gdb/gdbserver/server.c
+++ b/gdb/gdbserver/server.c
@@ -3458,14 +3458,14 @@  gdbserver_usage (FILE *stream)
 	   "Debug options:\n"
 	   "\n"
 	   "  --debug               Enable general debugging output.\n"
-	   "  --debug-format=opt1[,opt2,...]\n"
+	   "  --debug-format=OPT1[,OPT2,...]\n"
 	   "                        Specify extra content in debugging output.\n"
 	   "                          Options:\n"
 	   "                            all\n"
 	   "                            none\n"
 	   "                            timestamp\n"
 	   "  --remote-debug        Enable remote protocol debugging output.\n"
-	   "  --disable-packet=opt1[,opt2,...]\n"
+	   "  --disable-packet=OPT1[,OPT2,...]\n"
 	   "                        Disable support for RSP packets or features.\n"
 	   "                          Options:\n"
 	   "                            vCont, Tthread, qC, qfThreadInfo and \n"