public void run(final PrintStream out, PrintStream err) throws SVNException {
myOut = out;
boolean error = false;
SVNDiffClient differ = getClientManager().getDiffClient();
if (getCommandLine().hasArgument(SVNArgument.EXTENSIONS)) {
SVNDiffOptions diffOptions = new SVNDiffOptions(getCommandLine().hasArgument(SVNArgument.IGNORE_ALL_WS),
getCommandLine().hasArgument(SVNArgument.IGNORE_WS_CHANGE),
getCommandLine().hasArgument(SVNArgument.IGNORE_EOL_STYLE));
ISVNDiffGenerator generator = differ.getDiffGenerator();
if (generator instanceof DefaultSVNDiffGenerator) {
((DefaultSVNDiffGenerator) generator).setDiffOptions(diffOptions);