From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15018 invoked by alias); 25 Feb 2012 16:54:10 -0000 Received: (qmail 15003 invoked by uid 22791); 25 Feb 2012 16:54:09 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 25 Feb 2012 16:53:49 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1PGrkUu018682 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 25 Feb 2012 11:53:47 -0500 Received: from host2.jankratochvil.net (ovpn-116-19.ams2.redhat.com [10.36.116.19]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q1PGrgC8015766 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sat, 25 Feb 2012 11:53:45 -0500 Date: Sat, 25 Feb 2012 17:06:00 -0000 From: Jan Kratochvil To: Eli Zaretskii Cc: gdb-patches@sourceware.org Subject: Re: [patch 2/2] [+doc] New -iex and -ix: -ex and -x before inferior load Message-ID: <20120225165342.GA28961@host2.jankratochvil.net> References: <20120225134940.GC15155@host2.jankratochvil.net> <834nuesy34.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <834nuesy34.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes 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 X-SW-Source: 2012-02/txt/msg00612.txt.bz2 On Sat, 25 Feb 2012 16:59:43 +0100, Eli Zaretskii wrote: > > +--init-command=FILE, -ix Like --init-command, -x but execute it > > + before loading inferior. > > +--init-eval-command=COMMAND, -iex Like --eval-command=COMMAND, -ex but > > + execute it before loading inferior. > > Is it really a good idea to have 2- or 3-letter short options? It > started with -nw and -nx, which might make sense, then we added -ex, > and now -ix and -iex? If noting else, this will prevent us from ever > having -e and -i. > > How about if we don't have short versions of these at all? Originally I had -initx and -initex, if it would be OK for you. These options are just for convenience, which contradicts me the long options --init-eval-command. Still even --init-eval-command is better than nothing. > OK with those changes. I will change those. Thanks, Jan