From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id IEXUEcP9jl+6bwAAWB0awg (envelope-from ) for ; Tue, 20 Oct 2020 11:09:55 -0400 Received: by simark.ca (Postfix, from userid 112) id 4700E1EFC1; Tue, 20 Oct 2020 11:09:55 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 8DCA21EFBF for ; Tue, 20 Oct 2020 11:09:54 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4DF553851C25; Tue, 20 Oct 2020 15:09:54 +0000 (GMT) Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 16988385780F for ; Tue, 20 Oct 2020 15:09:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 16988385780F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark@simark.ca Received: from [10.0.0.11] (173-246-6-90.qc.cable.ebox.net [173.246.6.90]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 9797A1E58E; Tue, 20 Oct 2020 11:09:51 -0400 (EDT) Subject: Re: [PATCH] Fix help string of alias command To: Andreas Schwab , gdb-patches@sourceware.org References: <87mu0i2fvw.fsf@igel.home> From: Simon Marchi Message-ID: <23a3eafd-aa7e-4de3-5c35-ab166eb8c5fa@simark.ca> Date: Tue, 20 Oct 2020 11:09:51 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <87mu0i2fvw.fsf@igel.home> Content-Type: text/plain; charset=utf-8 Content-Language: fr Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" On 2020-10-19 3:08 p.m., Andreas Schwab wrote: > * cli/cli-cmds.c (_initialize_cli_cmds): Fix alias command help. > > diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c > index 352abd0a63..e6a1a8417c 100644 > --- a/gdb/cli/cli-cmds.c > +++ b/gdb/cli/cli-cmds.c > @@ -2614,9 +2614,9 @@ Use \"help aliases\" to list all user defined aliases and their default args.\n\ > \n\ > Examples:\n\ > Make \"spe\" an alias of \"set print elements\":\n\ > - alias spe set print elements\n\ > + alias spe = set print elements\n\ > Make \"elms\" an alias of \"elements\" in the \"set print\" command:\n\ > - alias -a set print elms set print elements\n\ > + alias -a set print elms = set print elements\n\ > Make \"btf\" an alias of \"backtrace -full -past-entry -past-main\" :\n\ > alias btf = backtrace -full -past-entry -past-main\n\ > Make \"wLapPeu\" an alias of 2 nested \"with\":\n\ > -- > 2.28.0 This is OK, thanks. Simon