Commit 0f91d28c 0f91d28c563e5d8cdb4b1dda25eb9791f311ae61 by Sam Roberts

mailutils capbilities were split up

1 parent ecfb69d7
...@@ -53,8 +53,6 @@ static char doc[] = "GNU comsatd"; ...@@ -53,8 +53,6 @@ static char doc[] = "GNU comsatd";
53 53
54 static struct argp_option options[] = 54 static struct argp_option options[] =
55 { 55 {
56 {NULL, 0, NULL, 0,
57 "comsatd specific switches:", 0},
58 {"config", 'c', "FILE", 0, "Read configuration from FILE", 0}, 56 {"config", 'c', "FILE", 0, "Read configuration from FILE", 0},
59 { NULL, 0, NULL, 0, NULL, 0 } 57 { NULL, 0, NULL, 0, NULL, 0 }
60 }; 58 };
...@@ -71,9 +69,11 @@ static struct argp argp = { ...@@ -71,9 +69,11 @@ static struct argp argp = {
71 }; 69 };
72 70
73 static const char *comsat_argp_capa[] = { 71 static const char *comsat_argp_capa[] = {
74 "mailutils",
75 "daemon", 72 "daemon",
73 "common",
76 "logging", 74 "logging",
75 "mailbox",
76 "licence",
77 NULL 77 NULL
78 }; 78 };
79 79
......
...@@ -133,7 +133,12 @@ static struct argp argp = { ...@@ -133,7 +133,12 @@ static struct argp argp = {
133 NULL, NULL 133 NULL, NULL
134 }; 134 };
135 135
136 static const char *guimb_argp_capa[] = {"mailutils", NULL}; 136 static const char *guimb_argp_capa[] = {
137 "common",
138 "mailbox",
139 "licence",
140 NULL
141 };
137 142
138 int 143 int
139 main (int argc, char *argv[]) 144 main (int argc, char *argv[])
......
...@@ -42,8 +42,6 @@ static char doc[] = "GNU imap4d -- the IMAP4D daemon"; ...@@ -42,8 +42,6 @@ static char doc[] = "GNU imap4d -- the IMAP4D daemon";
42 42
43 static struct argp_option options[] = 43 static struct argp_option options[] =
44 { 44 {
45 {NULL, 0, NULL, 0,
46 "imap4d specific switches:", 0},
47 {"other-namespace", 'O', "PATHLIST", 0, 45 {"other-namespace", 'O', "PATHLIST", 0,
48 "set the `other' namespace", 0}, 46 "set the `other' namespace", 0},
49 {"shared-namespace", 'S', "PATHLIST", 0, 47 {"shared-namespace", 'S', "PATHLIST", 0,
...@@ -63,10 +61,12 @@ static struct argp argp = { ...@@ -63,10 +61,12 @@ static struct argp argp = {
63 }; 61 };
64 62
65 static const char *imap4d_capa[] = { 63 static const char *imap4d_capa[] = {
66 "mailutils",
67 "daemon", 64 "daemon",
68 "logging",
69 "auth", 65 "auth",
66 "common",
67 "mailbox",
68 "logging",
69 "licence",
70 NULL 70 NULL
71 }; 71 };
72 72
......