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?