From: Wolfgang Denk Date: Fri, 11 Feb 2011 23:35:50 +0100 Subject: [U-Boot] [PATCH v2] mkimage: add "-V" option to print version information In-Reply-To: <4D55B03A.9030602@free.fr> References: <1297414591-12987-1-git-send-email-wd@denx.de> <1297426949-21865-1-git-send-email-wd@denx.de> <4D55B03A.9030602@free.fr> Message-ID: <20110211223550.6141A1519FD@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Albert ARIBAUD, In message <4D55B03A.9030602@free.fr> you wrote: > > Please ignore my previous post on V1, I had not seen V2. My comment > holds, though: ... > > + case 'V': > > + printf("mkimage version %s\n", > > + U_BOOT_VERSION + 7); > > If that magic number 7 (and the addition, as well) has any reason, it > > should at least be explained in a short comment. Heh... I though I could leave this as an exercide for the reader ;-) New version following... Thanks for pointing out. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "The hottest places in Hell are reserved for those who, in times of moral crisis, preserved their neutrality." - Dante