tech-userlevel archive

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

Re: Default behaviour of 'ifconfig'

On 12/03/2010 07:56 PM, D'Arcy J.M. Cain wrote:
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
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.
so.... does it apply to all commands?

% ls
usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [-D format] [file ...]


...which means that I would like to be able to use ifconfig without args as in Linux,
just because I'm lazy typing.

-- Ragge

Home | Main Index | Thread Index | Old Index