From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id D80AE5477 for ; Thu, 7 Jul 2016 18:24:17 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id f126so217229627wma.1 for ; Thu, 07 Jul 2016 09:24:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=KCeulT/jRO01AJgTgl387lVzaqLKRFLkrcas2f9KTU0=; b=KSjSk4iv+Q8xmogmqXX93Jcx78hnhwkkfTVfWv+MJN0n5RFodBU9YWsfthAYGUtTZC ywDRSgQjRTu+ITLelGSJqnWj3hoDFV4VargUABqianu7jEXfwFzUu+DusjU2GhvbrV92 YZj3aoiSYZKlFl08IBde1d4xSnI/0ufYWgSlm4SZpnEAar6WMiy7qIEFowMCcgSyhIjt 1MduAX9/e5RTIVvqB32yaHNFLDRXS0Mvn9M4gpOVvRXZGE/edhZQMy6zB8ndiGgKSDOU benRn0X7xyWRhij91sU6Fhajg/bbcw6IO7/ZyOszj4LzmNYzvGdnGzN76bHPk1Z/AM+h dGyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=KCeulT/jRO01AJgTgl387lVzaqLKRFLkrcas2f9KTU0=; b=lRlN7Zao+Q6jq4vbiZzWT38mTnmTa1ySTyeWP+4uwQ0uZ3C1ecHnmucu6P5kH6DYHP +UJeR3w94DO0TO+LypmD9UipQzFqY8twpbLU4c6mv+SfBFeFn2vwIYge1Db+sc48N+7z uy/vddN2tw4psO9nJ1pQvPBj4z0cMpENfg7A1EdDqiZ/3sAI85N5XRBO5zyWwgrVmjIc yEHZ7IKdqdTISJLG6gekT8frADnU4H1bmoX97fjSmsyb2KR+9cvsBsckpjGArO6vX6ue uyxuz4deXOOWUC/v1t3AtzCcndgoL4TskbBHk127zn7ZJ290qRmKyiIQ4hTFn6xmS3AJ 2T/Q== X-Gm-Message-State: ALyK8tLDg7tx4UAv3Tcefvbh+pGG3g+vIrS6BSq4ZIdl81MUKforG578xXgiPr0KIX4+hXhu X-Received: by 10.28.145.68 with SMTP id t65mr26062830wmd.31.1467908657706; Thu, 07 Jul 2016 09:24:17 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id x83sm3011327wmx.9.2016.07.07.09.24.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jul 2016 09:24:16 -0700 (PDT) From: Thomas Monjalon To: Neil Horman Cc: dev@dpdk.org Date: Thu, 07 Jul 2016 18:24:16 +0200 Message-ID: <1957789.Y4ZcBehmLI@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20160707160559.GG26064@hmsreliant.think-freely.org> References: <1467905790-10597-1-git-send-email-thomas.monjalon@6wind.com> <1467905790-10597-9-git-send-email-thomas.monjalon@6wind.com> <20160707160559.GG26064@hmsreliant.think-freely.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 08/11] pmdinfogen: fix usage message X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2016 16:24:18 -0000 2016-07-07 12:05, Neil Horman: > On Thu, Jul 07, 2016 at 05:36:27PM +0200, Thomas Monjalon wrote: > > - "usage: pmdinfo \n"); > > + "usage: pmdinfogen \n"); > > That should probably be an "%s...", argv[0], just to keep the name in line with > whatever its run as (via the symlink for instance) Yes I was hesitating. I think argv[0] gives the full path. So it is often used with basename(). Do you prefer this solution?