res = Register(argv[i]);
res = Register(registrar, argv[i]);
int ProcessArgs(int argc, char *argv[]){  int i = 1, result = 0;  nsresult res;  while (i < argc) {    if (argv[i][0] == '-') {      int j;      for (j = 1; argv[i][j] != '\0'; j++) {        switch (argv[i][j]) {        case 'u':          gUnreg = PR_TRUE;          break;        case 'Q':          gSilent = PR_TRUE;          /* fall through */        case 'q':          gQuiet = PR_TRUE;          break;        default:          fprintf(stderr, "Unknown option '%c'\n", argv[i][j]);        }      }    } else {      if (gUnreg == PR_TRUE)        res = Unregister(argv[i]);      else        res = Register(argv[i]);      if (NS_FAILED(res)) {        ReportError(res, argv[i]);        result = -1;      } else {        ReportSuccess(argv[i]);      }    }    i++;  }  return result;}