From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 35169 invoked by alias); 9 May 2018 20:35:00 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 35136 invoked by uid 89); 9 May 2018 20:34:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: gateway24.websitewelcome.com Received: from gateway24.websitewelcome.com (HELO gateway24.websitewelcome.com) (192.185.50.73) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 09 May 2018 20:34:57 +0000 Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway24.websitewelcome.com (Postfix) with ESMTP id 8F75B9B6B for ; Wed, 9 May 2018 15:34:56 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id GVncfydNybXuJGVncfIfFc; Wed, 09 May 2018 15:34:56 -0500 X-Authority-Reason: nr=8 Received: from 97-122-176-117.hlrn.qwest.net ([97.122.176.117]:34310 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fGVnc-001HoD-Aj; Wed, 09 May 2018 15:34:56 -0500 From: Tom Tromey To: Pedro Alves Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [RFA 04/12] Update memattr.c help strings References: <20180430143731.30007-1-tom@tromey.com> <20180430143731.30007-5-tom@tromey.com> <4ac45e86-d5c0-6f97-a72c-d6f0f79a3e26@redhat.com> Date: Wed, 09 May 2018 20:35:00 -0000 In-Reply-To: <4ac45e86-d5c0-6f97-a72c-d6f0f79a3e26@redhat.com> (Pedro Alves's message of "Fri, 4 May 2018 19:16:44 +0100") Message-ID: <87h8ng4lg0.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BWhitelist: no X-Source-L: No X-Exim-ID: 1fGVnc-001HoD-Aj X-Source-Sender: 97-122-176-117.hlrn.qwest.net (bapiya) [97.122.176.117]:34310 X-Source-Auth: tom+tromey.com X-Email-Count: 6 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-SW-Source: 2018-05/txt/msg00215.txt.bz2 >>>>> "Pedro" == Pedro Alves writes: >> add_cmd ("mem", class_vars, delete_mem_command, _("\ >> Delete memory region.\n\ >> Arguments are the code numbers of the memory regions to delete.\n\ >> -Usage: delete mem ...\n\ >> +Usage: delete mem [CODE]...\n\ >> Do \"info mem\" to see current list of code numbers."), &deletelist); >> Pedro> I was surprised and confused with the references to "code" and Pedro> "code numbers" here. These are just the numbers as displayed Pedro> in the first column of "info mem", right? How about changing Pedro> the references to "code numbers" and "CODE" above to Pedro> numbers or IDs? The manuals uses "nums". I went with IDs, like: add_cmd ("mem", class_vars, delete_mem_command, _("\ Delete memory region.\n\ Arguments are the identifiers of the memory regions to delete.\n\ Usage: delete mem [ID]...\n\ Do \"info mem\" to see current list of IDs."), &deletelist); Tom