anchor.diff:    await projectXml.close();
   
     print('Wrote project.xml, starting lint...');
  -  final Process lintProcess = await processManager.start(
  -    <String>[
  -      path.join(androidSdkDir.path, 'tools', 'bin', 'lint'),
  -      '--project',
  -      projectXmlPath,
  -      '--html',
  -      argResults['out'],
  -      '--showall',
  -      '--exitcode', // Set non-zero exit code on errors
  -      '-Wall',
  -      '-Werror',
  -      '--baseline',
  -      baselineXmlPath,
  -    ],
  -  );
  +  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;
  
positive.code:           'in this project.',
        negatable: false,
        defaultsTo: false,
      );
  
    return argParser;
  
negative.code:         ),
        ),
      )
      ..addFlag(
        'help',
        help: 'Print usage of the command.',
  