Fix getopts in meandiff.sh