What is the third argument to getopts?

The third argument to getopts is the list of arguments and options to be processed. When not provided, this defaults to the arguments and options provided to the application ( $@ ). You can provide this third argument to use getopts to parse any list of arguments and options you provide.
For More Information Please Refer:


You May Also Like to Read: