tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Default behaviour of 'ifconfig'



On Fri, 3 Dec 2010 13:49:45 -0500 (EST)
der Mouse <mouse%Rodents-Montreal.ORG@localhost> wrote:
> I normally use -_ when I want a deliberately erroneous flag to provoke
> a usage message.  I don't know of any shell under which that needs
> escaping.

Better yet, just don't put any arguments at all.

Oh, wait.  That's where we came in to this discussion.  :-)

Seriously, that's why I like the behaviour of commands like this that
give a usage message when I don't type any arguments.  That way I can
run the command, look at the usage then hit the up arrow and add my
arguments without having to backspace.

-- 
D'Arcy J.M. Cain <darcy%NetBSD.org@localhost>
http://www.NetBSD.org/


Home | Main Index | Thread Index | Old Index