Fix error message for unknown switches (#146)