On 08/08/2011 10:46 AM, Albert ARIBAUD wrote: > Hi David, > > Le 08/08/2011 10:16, David Wagner a écrit : > >>>> +static void usage(void) >>>> +{ >>>> + printf("envcrc [-h] [-r] [-b] -s<envrionnment partition >> size> -o<output> " >>> >>> funny, "envcrc" isnt what the filename actually is ... >> >> ah, yes, it began as an attempt to extend envcrc but ended up fairly >> different. > > Maybe passing argv[0] to usage() would help deal with the current name > of the executable? > > Amicalement,
Indeed, merci. -- David Wagner, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot