Add the -w option in getopts