Fix error in getopts snippets
Update usage template