anchor.diff:  /// Parses options from the command-line
   CompilerOptions parseOptions(List<String> argv) {
     ArgResults args = argParser.parse(argv);
  -  var levelName = args['log'].toUpperCase();
  +  var serverMode = args['server'];
  +  var logLevel = serverMode ? Level.ALL : Level.SEVERE;
  +  var levelName = args['log'];
  +  if (levelName != null) {
  +    levelName = levelName.toUpperCase();
  +    logLevel = Level.LEVELS.firstWhere((l) => l.name == levelName,
  +        orElse: () => logLevel);
  +  }
     var useColors = stdioType(stdout) == StdioType.TERMINAL;
     var sdkPath = args['dart-sdk'];
     if (sdkPath == null && !args['mock-sdk']) {
  
positive.code:       defaultsTo: '8080')
    ..addFlag('force-compile',
        help: 'Compile code with static errors', defaultsTo: false)
    ..addOption('log', abbr: 'l', help: 'Logging level', defaultsTo: 'severe')
    ..addFlag('dump-info',
        abbr: 'i', help: 'Dump summary information', defaultsTo: false)
    ..addOption('dump-info-file',
        abbr: 'f',
        help: 'Dump info json file (requires dump-info)',
  
negative.code:       help: args['help'],
        useMockSdk: args['mock-sdk'],
        dartSdkPath: sdkPath,
        logLevel: logLevel,
        emitSourceMaps: args['source-maps'],
        entryPointFile: args.rest.length == 0 ? null : args.rest.first,
        serverMode: serverMode,
        port: int.parse(args['port']),
        runtimeDir: runtimeDir);
  }
  