double-dash options

I need to create a file that accepts arguments and options, and the options have to allow for single-dash options (-abc) and double-dash options (--help). What is the best way to do this? Getopt(s) is great for single-dash, but chokes on double-dash. Do I really need to save the arguments to a file, and use grep?

I'd recommend using perl, and Getopt::Long for this. Else; work on your own implementation around a while loop, case and shift.

Cheers
ZB