2 * Copyright 2007-2012, Haiku, Inc. All rights reserved.
3 * Copyright 2001-2002 Dr. Zoidberg Enterprises. All rights reserved.
4 * Copyright 2011, Clemens Zeidler <haiku@clemens-zeidler.de>
5 * Distributed under the terms of the MIT License.
9 #include "MailDaemonApplication.h"
13 main(int argc
, const char** argv
)
15 bool remakeMIMETypes
= false;
17 for (int i
= 1; i
< argc
; i
++) {
18 if (strcmp(argv
[i
], "-E") == 0) {
19 if (!BMailSettings().DaemonAutoStarts())
22 if (strcmp(argv
[i
], "-M") == 0)
23 remakeMIMETypes
= true;
26 MailDaemonApplication app
;
28 app
.MakeMimeTypes(true);