Article View: gnu.misc.discuss
Article #73090Re: Who wants long options anyway? (Re: Poll: syntax of long options)
From: haertel
Date: Wed, 06 Nov 1991 16:36
Date: Wed, 06 Nov 1991 16:36
10 lines
1306 bytes
1306 bytes
I don't think long options are of any use themselves, but I occasionally find it helpful that getopt has long names compiled in with the short names, because it can automatically produce a usage message that lists all the possible options together with (by virtue of the long names) some indication of what they do. Brian Fox would probably tell you that the long options will be useful someday for shell completion of program options. I doubt whether I'll ever type a long option name though...
Technical Details
Message-ID:
<1991Nov6.163614.942@nntp.uoregon.edu>Path:
arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!milton!nntp.uoregon.edu!euclid!haertelReferences:
<1991Oct29.142256.5232@ux1.cso.uiuc.edu> <ABRAHAM.91Oct29173322@freja.iesd.auc.dk> <DAMIAN.CUGLEY.91Nov4142743@pierrot.prg.ox.ac.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,5071a1d1ccc07109 X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1991-11-06 10:01:12 PST Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!milton!nntp.uoregon.edu!euclid!haertel From: haertel@euclid.uoregon.edu Newsgroups: gnu.misc.discuss Subject: Re: Who wants long options anyway? (Re: Poll: syntax of long options) Message-ID: <1991Nov6.163614.942@nntp.uoregon.edu> Date: 6 Nov 91 16:36:14 GMT References: <1991Oct29.142256.5232@ux1.cso.uiuc.edu> <ABRAHAM.91Oct29173322@freja.iesd.auc.dk> <DAMIAN.CUGLEY.91Nov4142743@pierrot.prg.ox.ac.uk> Sender: news@nntp.uoregon.edu Organization: Department of Mathematics, University of Oregon Lines: 10 Originator: haertel@euclid