From: Wolfgang Denk Date: Wed, 13 Feb 2008 23:43:55 +0100 Subject: [U-Boot-Users] Delete all env vars except read onlys In-Reply-To: Your message of "Wed, 13 Feb 2008 12:13:08 +0100." Message-ID: <20080213224355.C6F7024050@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 In message you wrote: > > Why not do both? Unix untilities do it sometimes this way: Use an > interactive check for "scrubenv" but allow "scrubenv -force" not to > ask. As many of the U-Boot users know Unix, this would follow from > the "principle of least surprise"... That would be exactly the other way round, i. e. provide an optional "-i" argument like "rm *" is doing in Unix. The default shall be not to ask any questions. 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 They say, well, meybe it _is_ smelly, maybe it _is_ overcrowded, may- be it _is_ a bit like Hell would be if they shut the fires off and stabled a herd of incontinent cows there for a year, but you must admit that it is full of sheer, vibrant, dynamic _life_. - Terry Pratchett, _Moving Pictures_