The syntax for using getopts is different to the syntax of getopt, and it does not support long option names.
The syntax for using getopts is different to the syntax of getopt. It does not support long option names.