🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.announce
Article #2583

New poll on long options

#2583
From: Richard Stallman
Date: Thu, 14 Nov 1991 13:29
39 lines
1671 bytes
Please tell me which of these two syntaxes you prefer for long options:

   `--' as a prefix, as in
	ls --recursive --reverse
   	diff --context=2

   `-=' as a prefix, as in
	ls -=recursive -=reverse
   	diff -=context=2

Issues to consider:

* How easy is it to type each of these alternatives.

* How error-prone are they.

* How esthetically clean are they.

**Please don't reply to me.**  Send your reply to
long-option-poll@gnu.ai.mit.edu.


Note that there is no conflict, strictly speaking, between the use of
`--' as a prefix for long options and use of `--' by itself as the
"end of options" marker.  For example:

       ls --format=long --directory -- --directory

is unambiguous: it makes a listing of the attributes of the directory
named `--directory'.


By the way, in evaluating the usefulness of long options, people
should keep in mind that they can be abbreviated:

	ls --fo=l --d -- --directory

In the GNU system we will eventually have facilities for completion of
option names.
Technical Details
Message-ID: <9111142329.AA21815@mole.gnu.ai.mit.edu>
Path: arc1-ca.pugleaf.net!gmdzi!ieee.org!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!rms

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fba7b,3024d7174f14d4e5,start
X-Google-Attributes: gidfba7b,public
X-Google-ArrivalTime: 1991-11-14 05:29:28 PST
Path: arc1-ca.pugleaf.net!gmdzi!ieee.org!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!rms
From: rms@gnu.ai.mit.edu (Richard Stallman)
Newsgroups: gnu.announce
Subject: New poll on long options
Message-ID: <9111142329.AA21815@mole.gnu.ai.mit.edu>
Date: 14 Nov 91 13:29:28 GMT
Sender: gnulists@ai.mit.edu
Reply-To: long-option-poll@gnu.ai.mit.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 39
Approved: info-gnu@prep.ai.mit.edu