anchor.diff:  ///
   /// This script scans the flutter/shell/platform/android directory for Java
   /// files to build a `project.xml` file.  This file is then passed to the lint
  -/// tool and HTML output is reqeusted in the directory for the `--out`
  -/// parameter, which defaults to `lint_report`.
  +/// tool. If an `--html` flag is also passed in, HTML output is reqeusted in the
  +/// directory for the optional `--out` parameter, which defaults to
  +/// `lint_report`. Otherwise the output is printed to STDOUT.
   ///
   /// The `--in` parameter may be specified to force this script to scan a
   /// specific location for the engine repository, and expects to be given the
  
positive.code:           'in this project.',
        negatable: false,
        defaultsTo: false,
      );
  
    return argParser;
  
negative.code:   await projectXml.close();
  
    print('Wrote project.xml, starting lint...');
    final List<String> lintArgs = <String>[
      path.join(androidSdkDir.path, 'tools', 'bin', 'lint'),
      '--project',
      projectXmlPath,
      '--showall',
      '--exitcode', // Set non-zero exit code on errors
      '-Wall',
      '-Werror',
      '--baseline',
      baselineXmlPath,
    ];
    if (argResults['html']) {
      lintArgs.addAll(<String>['--html', argResults['out']]);
    }
    final Process lintProcess = await processManager.start(lintArgs);
    lintProcess.stdout.pipe(stdout);
    lintProcess.stderr.pipe(stderr);
    return await lintProcess.exitCode;
  