Change ARI usage to GNU style
authorTom Tromey <tromey@adacore.com>
Thu, 5 Dec 2019 15:29:03 +0000 (08:29 -0700)
committerTom Tromey <tromey@adacore.com>
Fri, 13 Dec 2019 22:15:32 +0000 (15:15 -0700)
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

gdb/ChangeLog
gdb/contrib/ari/gdb_ari.sh

index 0e1f484e51d50215b5fedc36c71fc4825a280ae3..93b076279ef4acbf0e7de75d5ac4309777987bea 100644 (file)
@@ -1,3 +1,7 @@
+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)
index 9a5b941d23f2d9a3fd8cb4204360365918240e59..4b0fddfee7d101da3e0d239a9cab16f347681bea 100755 (executable)
@@ -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