[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unix command options

This page is part of the web mail archives of SRFI 22 from before July 7th, 2015. The new archives for SRFI 22 contain all messages, not just those from before July 7th, 2015.


The Unix standard (Posix/Single Unix Spec) specifies getopt() for parsing
command options. This function only handles single character
command options. As an example: '-call' will be interpreted as option
'c' with argument 'all'.

Gnu getopt() allows multicharacter options, and starts these with '--'.