Date: Tue, 22 Oct 1996 20:24:53 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-hackers@freebsd.org (FreeBSD hackers) Cc: kuku@gilberto.physik.rwth-aachen.de (Christoph Kukulies) Subject: Re: getopt(1) man page woodoo Message-ID: <199610221824.UAA18381@uriah.heep.sax.de> In-Reply-To: <199610221641.RAA22495@gilberto.physik.rwth-aachen.de> from Christoph Kukulies at "Oct 22, 96 05:41:54 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
As Christoph Kukulies wrote: > See the missing -- and - ? > > But they are in > The special option > .B \-\- > is used to delimit the end of the options. > .Nm Getopt > will place > .B \-\- > in the arguments at the end of the options, > or recognize it if used explicitly. > The shell arguments > (\fB$1 $2\fR ...) are reset so that each option is > preceded by a > .B \- > and in its own shell argument; > > What's going on here? Somebody didn't know troff. Make this \&-, and it will work. Better yet, -mdoc'ify it, and use The special option .Fl \&- instead. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610221824.UAA18381>