Option parser for bash scripts