summaryrefslogtreecommitdiff
path: root/mailutils/reformime.c
diff options
context:
space:
mode:
Diffstat (limited to 'mailutils/reformime.c')
-rw-r--r--mailutils/reformime.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mailutils/reformime.c b/mailutils/reformime.c
index 6a02548..321729e 100644
--- a/mailutils/reformime.c
+++ b/mailutils/reformime.c
@@ -280,9 +280,9 @@ int reformime_main(int argc UNUSED_PARAM, char **argv)
// parse options
// N.B. only -x and -X are supported so far
- opt_complementary = "x--X:X--x";
- opts = getopt32(argv,
- "x:X" IF_FEATURE_REFORMIME_COMPAT("deis:r:c:m:*h:o:O:"),
+ opts = getopt32(argv, "^"
+ "x:X" IF_FEATURE_REFORMIME_COMPAT("deis:r:c:m:*h:o:O:")
+ "\0" "x--X:X--x",
&opt_prefix
IF_FEATURE_REFORMIME_COMPAT(, NULL, NULL, &G.opt_charset, NULL, NULL, NULL, NULL)
);