From patchwork Fri Dec 13 22:17:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Simon Marchi (Code Review)" X-Patchwork-Id: 36848 Received: (qmail 58031 invoked by alias); 13 Dec 2019 22:17:25 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 57961 invoked by uid 89); 13 Dec 2019 22:17:25 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-21.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy=Usage X-HELO: mx1.osci.io Received: from polly.osci.io (HELO mx1.osci.io) (8.43.85.229) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 Dec 2019 22:17:23 +0000 Received: by mx1.osci.io (Postfix, from userid 994) id 2EF0720391; Fri, 13 Dec 2019 17:17:22 -0500 (EST) Received: from gnutoolchain-gerrit.osci.io (gnutoolchain-gerrit.osci.io [8.43.85.239]) by mx1.osci.io (Postfix) with ESMTP id EB88020A7C; Fri, 13 Dec 2019 17:17:09 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by gnutoolchain-gerrit.osci.io (Postfix) with ESMTP id D523928176; Fri, 13 Dec 2019 17:17:09 -0500 (EST) X-Gerrit-PatchSet: 3 Date: Fri, 13 Dec 2019 17:17:07 -0500 From: "Sourceware to Gerrit sync (Code Review)" To: Tom Tromey , gdb-patches@sourceware.org Cc: Pedro Alves Auto-Submitted: auto-generated X-Gerrit-MessageType: newpatchset Subject: [pushed] Change ARI usage to GNU style X-Gerrit-Change-Id: Ibe5a867571382d2985d1b8b78dfef3ddd02291ff X-Gerrit-Change-Number: 749 X-Gerrit-ChangeURL: X-Gerrit-Commit: 98f9338a584c5f68595fc97e692e83f700c8da3d In-Reply-To: References: Reply-To: noreply@gnutoolchain-gerrit.osci.io, tromey@sourceware.org, palves@redhat.com, gdb-patches@sourceware.org MIME-Version: 1.0 Content-Disposition: inline User-Agent: Gerrit/3.0.3-79-g83ff7f88f1 Message-Id: <20191213221709.D523928176@gnutoolchain-gerrit.osci.io> The original change was created by Tom Tromey. Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/749 ...................................................................... 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 * contrib/ari/gdb_ari.sh (usage): Use GNU style. Change-Id: Ibe5a867571382d2985d1b8b78dfef3ddd02291ff --- M gdb/ChangeLog M gdb/contrib/ari/gdb_ari.sh 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 + * contrib/ari/gdb_ari.sh (usage): Use GNU style. + +2019-12-13 Tom Tromey + * 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 @@ Error: $1 Usage: - $0 --print-doc --print-idx -Wall -Werror -W ... + $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 @@ -Werror Treat all problems as errors. -Wall Report all problems. -Wari Report problems that should be fixed in new code. - -W Report problems in the specifed category. Valid categories + -WCATEGORY Report problems in the specifed category. Valid categories are: ${all} EOF exit 1