delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/29/18:48:17

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: Wed, 29 May 2002 15:42:39 -0700 (Pacific Daylight Time)
From: Michael A Chase <mchase AT ix DOT netcom DOT com>
Subject: Re: trivial mkpasswd defect
To: Bernard A Badger <bab AT vx DOT com>, cygwin AT cygwin DOT com
MIME-Version: 1.0
References: <INEKLKBFCDBPKMKAJLMDGEJGCDAA DOT bab AT vx DOT com><E17DC0P-0006XD-00 AT blount DOT mail DOT mindspring DOT net>
In-Reply-To: <E17DC0P-0006XD-00@blount.mail.mindspring.net>
Reply-To: Michael A Chase <mchase AT ix DOT netcom DOT com>
Message-Id: <E17DC9S-0005ZW-00@hall.mail.mindspring.net>

On Wed, 29 May 2002 15:33:19 -0700 (Pacific Daylight Time) Michael A Chase <mchase AT ix DOT netcom DOT com> wrote:

> I don't see anything there that says that POSIX endorses '-?' for
> displaying the usage message.  It just shows how to handle invalid option
> characters.  If getopt sees an invalid character after '-' it returns '?' and puts the
> invalid character ("?" in your example) in optopt.  In that example, I'd
> expect to see
. . .

I should have been explicit about one item.  Asking for help shouldn't be
an error.

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



--
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