[dpdk-dev] [PATCH 08/11] pmdinfogen: fix usage message
Thomas Monjalon
thomas.monjalon at 6wind.com
Thu Jul 7 18:24:16 CEST 2016
2016-07-07 12:05, Neil Horman:
> On Thu, Jul 07, 2016 at 05:36:27PM +0200, Thomas Monjalon wrote:
> > - "usage: pmdinfo <object file> <c output file>\n");
> > + "usage: pmdinfogen <object file> <c output file>\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?
More information about the dev
mailing list