From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24728 invoked by alias); 11 Jul 2019 13:49:35 -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 24719 invoked by uid 89); 11 Jul 2019 13:49:34 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=HX-Languages-Length:834, sentence X-HELO: mail-wm1-f52.google.com Received: from mail-wm1-f52.google.com (HELO mail-wm1-f52.google.com) (209.85.128.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 11 Jul 2019 13:49:33 +0000 Received: by mail-wm1-f52.google.com with SMTP id w9so7035941wmd.1 for ; Thu, 11 Jul 2019 06:49:33 -0700 (PDT) Return-Path: Received: from ?IPv6:2001:8a0:f913:f700:56ee:75ff:fe8d:232b? ([2001:8a0:f913:f700:56ee:75ff:fe8d:232b]) by smtp.gmail.com with ESMTPSA id b15sm7518722wrt.77.2019.07.11.06.49.30 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Thu, 11 Jul 2019 06:49:31 -0700 (PDT) Subject: Re: [RFA] Make first and last lines of 'command help documentation' consistent. To: Philippe Waroquiers , gdb-patches@sourceware.org References: <20190616195804.9427-1-philippe.waroquiers@skynet.be> From: Pedro Alves Message-ID: <662100d4-a245-8010-f1bc-a75987ef54f9@redhat.com> Date: Thu, 11 Jul 2019 13:49:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190616195804.9427-1-philippe.waroquiers@skynet.be> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2019-07/txt/msg00305.txt.bz2 On 6/16/19 8:58 PM, Philippe Waroquiers wrote: > @@ -448,8 +448,8 @@ _initialize_interpreter (void) > c = add_cmd ("interpreter-exec", class_support, > interpreter_exec_cmd, _("\ > Execute a command in an interpreter.\n\ > -It takes two arguments:\n\ > +Usage: interpreter-exec INTERPRETER COMMAND...\n\ > The first argument is the name of the interpreter to use.\n\ > -The second argument is the command to execute."), &cmdlist); > +The following arguments are the commands to execute."), &cmdlist); This sentence is incorrect -- there's only one command to execute. You meant to say that it's the command to execute and its arguments. As it was before was also correct, IMHO. > set_cmd_completer (c, interpreter_completer); > } Thanks, Pedro Alves