Hi there,
I'm trying to use both getopt::std and long in my code. Std is handy for easy stuff like '-u username' and shwhatnot, but there's some longer predefined functions which are better with longer names.
The problem is, they don't seem to play well together. Each of them returns 'option unknown' for the other one, depending on what order they're in in the code.
Anyone know a workaround for this?
Update: Yup, cheers Hena. Also the 'no_autoabbrev' function is useful, as otherwise it'll catch std-form options and evaluate them as shorthand for the long-form ones as well.
In reply to interworking getopt::long and std by bonoboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |