fix array var parameter expansions bug; use opt in error msg
fix array var parameter expansions bug; use opt in error msg

superhj1987/awesome-scripts,superhj1987/awesome-scripts,superhj1987/awesome-scripts