make certian char strs const
add ARRLEN macro
show ambiguous matches in the same format as getopt
where possible use inline declaration in for statement
remove unneeded str_iter var