Add a failIfTrimmed flag to the plugin, and update documentation to use task options instead of parameters.