wildcard_user = "*";
ctx->users_list_input = argv[i].value.v_istream;
i_stream_ref(ctx->users_list_input);
- } else if (ctx->v.parse_arg != NULL && argv[i].short_opt != '\0') {
- optarg = (char*)argv[i].value.v_string;
- ctx->v.parse_arg(ctx, argv[i].short_opt);
} else if (strcmp(argv[i].name, "field") == 0 ||
strcmp(argv[i].name, "flag") == 0) {
/* mailbox status, fetch, flags: convert an array into a
}
ctx->cmd_input = argv[i].value.v_istream;
i_stream_ref(ctx->cmd_input);
+
+ /* Keep all named special parameters above this line */
+
+ } else if (ctx->v.parse_arg != NULL && argv[i].short_opt != '\0') {
+ optarg = (char*)argv[i].value.v_string;
+ ctx->v.parse_arg(ctx, argv[i].short_opt);
} else if ((argv[i].flags & CMD_PARAM_FLAG_POSITIONAL) != 0) {
/* feed this into pargv */
if (argv[i].type == CMD_PARAM_ARRAY)