Commit 0f91d28c 0f91d28c563e5d8cdb4b1dda25eb9791f311ae61 by Sam Roberts

mailutils capbilities were split up

1 parent ecfb69d7
......@@ -53,10 +53,8 @@ static char doc[] = "GNU comsatd";
static struct argp_option options[] =
{
{NULL, 0, NULL, 0,
"comsatd specific switches:", 0},
{"config", 'c', "FILE", 0, "Read configuration from FILE", 0},
{ NULL, 0, NULL, 0, NULL, 0 }
{ NULL, 0, NULL, 0, NULL, 0 }
};
static error_t comsatd_parse_opt (int key, char *arg, struct argp_state *state);
......@@ -71,9 +69,11 @@ static struct argp argp = {
};
static const char *comsat_argp_capa[] = {
"mailutils",
"daemon",
"common",
"logging",
"mailbox",
"licence",
NULL
};
......
......@@ -133,7 +133,12 @@ static struct argp argp = {
NULL, NULL
};
static const char *guimb_argp_capa[] = {"mailutils", NULL};
static const char *guimb_argp_capa[] = {
"common",
"mailbox",
"licence",
NULL
};
int
main (int argc, char *argv[])
......
......@@ -42,8 +42,6 @@ static char doc[] = "GNU imap4d -- the IMAP4D daemon";
static struct argp_option options[] =
{
{NULL, 0, NULL, 0,
"imap4d specific switches:", 0},
{"other-namespace", 'O', "PATHLIST", 0,
"set the `other' namespace", 0},
{"shared-namespace", 'S', "PATHLIST", 0,
......@@ -63,10 +61,12 @@ static struct argp argp = {
};
static const char *imap4d_capa[] = {
"mailutils",
"daemon",
"logging",
"auth",
"common",
"mailbox",
"logging",
"licence",
NULL
};
......