記事を書きました。
Bash の getopts でロングオプションを処理する – ちとくのホームページ - https://chitoku.jp/programming/bash-getopts-long-options
ごま丼です。