Parsing Short Options
In while getopts "vo:" opt; do …, what does the colon after o mean?
while getopts "vo:" opt; do …
o
Choose one answer
-o is optional, while -v must always be given.
-o
-v
The option ends the option list, like --.
--
-o takes a value, put in $OPTARG.
$OPTARG
-o may be given several times.