#define VERSIONSW 6
{ "version", 0 },
#define HELPSW 7
- { "help", 4 },
+ { "help", 0 },
{ NULL, 0 }
};
}
+#ifndef CYRUS_SASL
+# define SASLminc(a) (a)
+#else /* CYRUS_SASL */
+# define SASLminc(a) 0
+#endif /* CYRUS_SASL */
+
static struct swit sendswitches[] = {
#define ALIASW 0
{ "alias aliasfile", 0 },
#define SVERSIONSW 22
{ "version", 0 },
#define SHELPSW 23
- { "help", 4 },
+ { "help", 0 },
#define BITSTUFFSW 24
{ "dashstuffing", -12 },
#define NBITSTUFFSW 25
{ "draftmessage msg", -6 },
#define SNDRFSW 35
{ "nodraftfolder", -3 },
+#define SASLSW 36
+ { "sasl", SASLminc(-4) },
+#define SASLMECHSW 37
+ { "saslmech", SASLminc(-5) },
+#define USERSW 38
+ { "user", SASLminc(-4) },
{ NULL, 0 }
};
case SSNDSW:
case SOMLSW:
case SNOOPSW:
+ case SASLSW:
vec[vecp++] = --cp;
continue;
case WIDTHSW:
case CLIESW:
case SERVSW:
+ case SASLMECHSW:
+ case USERSW:
vec[vecp++] = --cp;
if (!(cp = *argp++) || *cp == '-') {
advise (NULL, "missing argument to %s", argp[-2]);