Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2000 18:31:26 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
Cc:        brian@Awfulhak.org (Brian Somers), grog@lemis.com (Greg Lehey), sheldonh@uunet.co.za (Sheldon Hearn), obrien@FreeBSD.org, archie@FreeBSD.org (Archie Cobbs), cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@Awfulhak.org
Subject:   Re: cvs commit: src/sbin/ifconfig ifconfig.c 
Message-ID:  <200007201731.SAA04232@hak.lan.Awfulhak.org>
In-Reply-To: Message from "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>  of "Thu, 20 Jul 2000 10:27:43 PDT." <200007201727.KAA36657@gndrsh.dnsmgr.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > > Others have contradicted this view.  But maybe we should think of a
> > > consistent way to do it.  I've always done something like 'foo
> > > -fdsafds' to force a usage message.  Maybe -? should be acceptable,
> > > since it's what people will expect.
> > 
> > Heh :-)
> > 
> > hak:~ $ ls -fdsafds
> > 4 .
> 
> I wonder what command groks my favorite for getting usage:
> 
> gndrsh:rgrimes {338}% ls -usage
> ls: illegal option -- e
> usage: ls [-ACFHLPRTWacdfgikloqrstu1] [file ...]

Easy:

hak:~ $ test -usage
hak:~ $ echo $?
0

> -- 
> Rod Grimes - KD7CAX @ CN85sl - (RWG25)               rgrimes@gndrsh.dnsmgr.net
> 

-- 
Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007201731.SAA04232>