Fix getopts setup for "P"