public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Change ARI usage to GNU style
@ 2019-12-13 22:16 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2019-12-13 22:16 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=98f9338a584c5f68595fc97e692e83f700c8da3d

commit 98f9338a584c5f68595fc97e692e83f700c8da3d
Author: Tom Tromey <tromey@adacore.com>
Date:   Thu Dec 5 08:29:03 2019 -0700

    Change ARI usage to GNU style
    
    This changes the ARI usage text to use the GNU style for
    "metasyntactic variables".
    
    gdb/ChangeLog
    2019-12-13  Tom Tromey  <tromey@adacore.com>
    
    	* contrib/ari/gdb_ari.sh (usage): Use GNU style.
    
    Change-Id: Ibe5a867571382d2985d1b8b78dfef3ddd02291ff

Diff:
---
 gdb/ChangeLog              | 4 ++++
 gdb/contrib/ari/gdb_ari.sh | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0e1f484..93b0762 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
 2019-12-13  Tom Tromey  <tromey@adacore.com>
 
+	* contrib/ari/gdb_ari.sh (usage): Use GNU style.
+
+2019-12-13  Tom Tromey  <tromey@adacore.com>
+
 	* gdbsupport/common-utils.c (string_printf, string_vprintf)
 	(string_vappendf): Add ARI comment.
 
diff --git a/gdb/contrib/ari/gdb_ari.sh b/gdb/contrib/ari/gdb_ari.sh
index 9a5b941..4b0fddf 100755
--- a/gdb/contrib/ari/gdb_ari.sh
+++ b/gdb/contrib/ari/gdb_ari.sh
@@ -52,7 +52,7 @@ usage ()
 Error: $1
 
 Usage:
-    $0 --print-doc --print-idx -Wall -Werror -W<category> <file> ...
+    $0 --print-doc --print-idx -Wall -Werror -WCATEGORY FILE ...
 Options:
   --print-doc    Print a list of all potential problems, then exit.
   --print-idx    Include the problems IDX (index or key) in every message.
@@ -60,7 +60,7 @@ Options:
   -Werror        Treat all problems as errors.
   -Wall          Report all problems.
   -Wari          Report problems that should be fixed in new code.
-  -W<category>   Report problems in the specifed category.  Valid categories
+  -WCATEGORY     Report problems in the specifed category.  Valid categories
                  are: ${all}
 EOF
     exit 1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-13 22:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-13 22:16 [binutils-gdb] Change ARI usage to GNU style Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).