doveadm.c revision a3fe8c0c54d87822f4b4f8f0d10caac611861b2b
/* Copyright (c) 2009 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "master-service.h"
#include "doveadm-mail.h"
#include "doveadm.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
{
}
void usage(void)
{
const struct doveadm_cmd *cmd;
}
exit(1);
}
{
exit(0);
}
{
const struct doveadm_cmd *cmd;
usage();
}
usage();
}
static struct doveadm_cmd doveadm_cmd_help = {
};
{
const struct doveadm_cmd *cmd;
return TRUE;
}
}
return FALSE;
}
{
const char *cmd_name;
/* "+" is GNU extension to stop at the first non-option.
others just accept -+ option. */
if (master_getopt(master_service) > 0)
usage();
usage();
usage();
return 0;
}