Can getopts be used to pick up whole-word flags?
Something as follows:
while getopts ":abc --word" opt; do
case ${opt} in
a) SOMETHING
;;
...
--word) echo "Do something else."
;;
esac
done
Trying to pick up those double-dash flags.