Red Hat 9.0, getopt (enhanced) 1.1.2
I am trying to use getopt to validate/parse long command line options and
not getting anywhere.
I am doing something like
getopt -l a-long:,b-long: -- "--a-long a --b-long b"
I get
--
Why do I get -- as the output?
How to use this stuff? I am surprised that are so few examples of this to
be found.
Thanks