delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/30/20:38:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 30 Jul 2002 20:38:57 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: command line options on the end
Message-ID: <20020731003857.GG17985@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20020730215028 DOT 76596 DOT qmail AT web11204 DOT mail DOT yahoo DOT com> <Mahogany-0 DOT 64 DOT 2-480-20020730-151509 DOT 00 AT MCHASE-COMPAQ>
Mime-Version: 1.0
In-Reply-To: <Mahogany-0.64.2-480-20020730-151509.00@MCHASE-COMPAQ>
User-Agent: Mutt/1.3.23.1i

On Tue, Jul 30, 2002 at 03:15:09PM -0700, Michael A Chase wrote:
>Allowing options after non-option type arguments is a decision made by
>the authors of each command.  There are notable exceptions like gcc,
>but most UNIX programs do not allow them.

I think this is actually a reflection of the fact that we're not using
GNU getopt.  The getopt in libcygwin.a apparently defaults to the
old-fashioned UNIX behavior.

Patches gratefully etcetera.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019