Wolfgang Denk wrote: > In message <[EMAIL PROTECTED]> 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.
rm defaults to not asking questions in *some* cases, but to asking in others. Hence the -f flag to rm. -Scott ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users