Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2002 00:25:03 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        matt@gsicomp.on.ca
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: perceived strangeness with getopt(1,3)
Message-ID:  <20020926.002503.40859806.imp@bsdimp.com>
In-Reply-To: <009b01c26500$3f7e91a0$1200a8c0@gsicomp.on.ca>
References:  <009b01c26500$3f7e91a0$1200a8c0@gsicomp.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <009b01c26500$3f7e91a0$1200a8c0@gsicomp.on.ca>
            "Matthew Emmerton" <matt@gsicomp.on.ca> writes:
: gabby# getopt k:s: -k -s
:  -k -s --
: gabby#
: 
: Wha?  Neither of these options specified arguments!  I guess you could
: consider that -k's argument was '-s', but I was pretty sure that an option's
: argument couldn't start with a dash character (to avoid the ambiguity that
: I'm hitting right now.)

-k's argument is '-s'

Warner

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




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