From: Wolfgang Denk Date: Tue, 04 Aug 2009 22:42:43 +0200 Subject: [U-Boot] Normal command line behavior? In-Reply-To: <17434f2e0908041305i629aef0dmbf23e620a61fe505@mail.gmail.com> References: <17434f2e0908031219h7d630d9sc019cf726ce9c1c8@mail.gmail.com> <4A773C1C.7080109@ge.com> <20090803215830.969568340728@gemini.denx.de> <17434f2e0908040907j41a235a0uce4f794e689c4d52@mail.gmail.com> <20090804194840.GA27240@b07421-ec1.am.freescale.net> <17434f2e0908041305i629aef0dmbf23e620a61fe505@mail.gmail.com> Message-ID: <20090804204243.A27148340728@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 "J.C. Wren", In message <17434f2e0908041305i629aef0dmbf23e620a61fe505@mail.gmail.com> you wrote: > > Not sure about that part. I just went back and looked at cmd_i2c.c, > cmd_yaffs2.c and a few others and I see they all do sub-command processing > with strncmp(), too. I had looked at one other file prior to my post, and Yes, that's the old, deprecated way of doing this. Today we know better. > I forgot to mention that all the yaffs commands are top level. If I were > me, I'd like to see the yaffs command broken down into a sub-menu. That's Please feel free to submit a patch. 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 Any technology distinguishable from magic is insufficiently advanced.