From: Ian Campbell Subject: Re: [PATCH v5 17/17] xenctx: Fixup options checking. Date: Thu, 27 Mar 2014 16:10:01 +0000 Message-ID: <1395936601.22909.178.camel@kazak.uk.xensource.com> References: <1395342425-16260-1-git-send-email-dslutz@verizon.com> <1395342425-16260-18-git-send-email-dslutz@verizon.com> <1395414781.19839.137.camel@kazak.uk.xensource.com> <533040B2.5010702@terremark.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <533040B2.5010702@terremark.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Don Slutz Cc: George Dunlap , Stefano Stabellini , Ian Jackson , Jan Beulich , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, 2014-03-24 at 10:26 -0400, Don Slutz wrote: > On 03/21/14 11:13, Ian Campbell wrote: > > On Thu, 2014-03-20 at 15:07 -0400, Don Slutz wrote: > >> Also display the correct program name in all cases. > > Where was it wrong? > > After: > > argv += optind; argc -= optind; > > and so I see. Please say something like "since we adjust argv during option parsing take a copy of the original argv[0]" in the commit message. Ian.