Lines Matching +defs:prog +defs:mode
238 int doupdatedb = 0, mode = OPT_ERR;
243 char *srpvfile = NULL, **pp, *prog;
246 prog = opt_init(argc, argv, srp_options);
252 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog);
274 if (mode != OPT_ERR) {
277 prog);
280 mode = o;
320 if (mode == OPT_ERR) {
325 if (mode == OPT_DELETE || mode == OPT_MODIFY || mode == OPT_ADD) {
418 while (mode == OPT_LIST || user != NULL) {
424 print_user(db, userindex, (verbose > 0) || mode == OPT_LIST);
426 if (mode == OPT_LIST) {
437 } else if (mode == OPT_ADD) {
487 } else if (mode == OPT_MODIFY) {
565 } else if (mode == OPT_DELETE) {
581 /* no more processing in any mode if no users left */