- memset (Options, 0, sizeof (Options));
- memset (QuadOptions, 0, sizeof (QuadOptions));
-
-#ifdef USE_NNTP
- while ((i = getopt (argc, argv, "A:a:b:F:f:c:d:e:g:GH:s:i:hm:npQ:RvxyzZ")) != EOF)
-#else
- while ((i = getopt (argc, argv, "A:a:b:F:f:c:d:e:H:s:i:hm:npQ:RvxyzZ")) != EOF)
-#endif
- switch (i)
- {
- case 'A':
- alias_queries = mutt_add_list (alias_queries, optarg);
- break;
- case 'a':
- attach = mutt_add_list (attach, optarg);
- break;
-
- case 'F':
- mutt_str_replace (&Muttrc, optarg);
- break;
-
- case 'f':
- strfcpy (folder, optarg, sizeof (folder));
- explicit_folder = 1;
- break;
-
- case 'b':
- case 'c':
- if (!msg)
- msg = mutt_new_header ();
- if (!msg->env)
- msg->env = mutt_new_envelope ();
- if (i == 'b')
- msg->env->bcc = rfc822_parse_adrlist (msg->env->bcc, optarg);
- else
- msg->env->cc = rfc822_parse_adrlist (msg->env->cc, optarg);
- break;
-
- case 'd':
-#ifdef DEBUG
- debuglevel = atoi (optarg);
- printf (_("Debugging at level %d.\n"), debuglevel);
-#else
- printf _("DEBUG was not defined during compilation. Ignored.\n");
-#endif
- break;
-
- case 'e':
- commands = mutt_add_list (commands, optarg);
- break;
-
- case 'H':
- draftFile = optarg;
- break;
-
- case 'i':
- includeFile = optarg;
- break;
-
- case 'm':
- /* should take precedence over .muttrc setting, so save it for later */
- newMagic = optarg;
- break;
-
- case 'n':
- flags |= M_NOSYSRC;
- break;
-
- case 'p':
- sendflags |= SENDPOSTPONED;
- break;
-
- case 'Q':
- queries = mutt_add_list (queries, optarg);
- break;
-
- case 'R':
- flags |= M_RO; /* read-only mode */
- break;
-
- case 's':
- subject = optarg;
- break;
-
- case 'v':
- version++;
- break;
-
- case 'x': /* mailx compatible send mode */
- sendflags |= SENDMAILX;
- break;
-
- case 'y': /* My special hack mode */
- flags |= M_SELECT;
- break;