print error if -passive and -shared are both used; log command line