Fixed handling of arguments to the "-P" option