[U-Boot] blank line repeats last command

Jerry Van Baren gerald.vanbaren at ge.com
Fri Oct 23 13:26:34 CEST 2009


David Collier wrote:
> Now I've turned on command history, if I hit "return" on a blank line it
> is the same as hitting up arrow and return - in other words it repeats
> the last command.

(for a subset of commands)

> That isn't helpful behaviour to my mind.
> 
> David Collier

That is intentional behavior and has been that way (nearly) forever.  It 
is configured via the command definition macro on a per-command basis. 
"Dangerous" commands do *not* repeat, commands that may be useful to 
repeat (e.g. displaying memory) do.

Hey, you were just complaining that you had to retype the IP address for 
repeated pings - now you are complaining that you don't have to type 
anything to repeat a command.  Make up you mind if you want shortcuts or 
not!  :-P

Best regards,
gvb


More information about the U-Boot mailing list