Commit cd577bf9 cd577bf9f6ce6fa3402b34f322516e49a9e72d00 by Sergey Poznyakoff

Bugfix

1 parent d8194bb3
......@@ -348,6 +348,11 @@ main (int argc, char **argv)
mh_getopt (&argc, &argv, options, 0, args_doc, prog_doc, extra_doc);
if (!append_folder)
append_folder = mh_global_profile_get ("Inbox", "inbox");
if (argc)
{
mu_error (_("unrecognized arguments"));
exit (1);
}
mu_registrar_set_default_scheme ("mh");
......
......@@ -2808,8 +2808,9 @@ main (int argc, char **argv)
mbox = mh_open_folder (mh_current_folder (), MU_STREAM_READ);
mh_msgset_parse (&msgset, mbox, argc, argv, "cur");
/* FIXME: Combine the three */
rc = 0;
if (list_option)
rc = mhn_list ();
rc |= mhn_list ();
if (show_option)
rc |= mhn_show ();
if (store_option)
......