Flags with more than one letter

Art Neilson art at pilikia.pegasus.com
Sat Apr 13 04:16:56 AEST 1991


In article <1991Apr10.132106.4122 at fmrco> harold at fmrco (Harold Naparst) writes:
>How do you pass flags to main() with more than one letter?
>I am using getopt, and it only allows flags with one letter.
>Is there another option parsing program I should know 
>about ?

The GNU version of getopt does what you want.  If you can't find it
or don't have access to an archive site, I'll mail it to you.  Send
me email requesting it.
-- 
Arthur W. Neilson III		| INET: art at pilikia.pegasus.com
Bank of Hawaii Tech Support	| UUCP: uunet!ucsd!nosc!pilikia!art



More information about the Comp.unix.questions mailing list