From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Mon, 08 Aug 2011 10:46:38 +0200 Subject: [U-Boot] [PATCHv2] new tool mkenvimage: generates an env image from an arbitrary config file In-Reply-To: <4E3F9B75.7030100@free-electrons.com> References: <1312555798-29542-1-git-send-email-david.wagner@free-electrons.com> <1312561431-5302-1-git-send-email-david.wagner@free-electrons.com> <4E3F9B75.7030100@free-electrons.com> Message-ID: <4E3FA26E.3070501@aribaud.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi David, Le 08/08/2011 10:16, David Wagner a ?crit : >>> +static void usage(void) >>> +{ >>> + printf("envcrc [-h] [-r] [-b] -s size> -o " >> >> 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, -- Albert.