Output help if options are invalid.
Add err to ondone.