anchor.diff:      argParser.addFlag('version',
           negatable: false,
           help: 'Reports the version of this tool.');
  -    argParser.addFlag('json',
  +    argParser.addFlag('machine',
           negatable: false,
           hide: true);
       argParser.addFlag('color',
  
positive.code:       return;
      }
  
      if (globalResults['json']) {
        printError('The --json flag is only valid with the --version flag.');
        throw new ProcessExit(2);
      }
  
  
negative.code:     if (globalResults['version']) {
        flutterUsage.sendCommand('version');
        String status;
        if (globalResults['machine']) {
          status = const JsonEncoder.withIndent('  ').convert(FlutterVersion.instance.toJson());
        } else {
          status = FlutterVersion.instance.toString();
  