summaryrefslogtreecommitdiff
path: root/mh/repl.c
diff options
context:
space:
mode:
Diffstat (limited to 'mh/repl.c')
-rw-r--r--mh/repl.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/mh/repl.c b/mh/repl.c
index 1cc192971..169f977c0 100644
--- a/mh/repl.c
+++ b/mh/repl.c
@@ -289,19 +289,19 @@ make_draft (mu_mailbox_t mbox, int disp, struct mh_whatnow_env *wh)
289 } 289 }
290} 290}
291 291
292static struct mh_optinit optinit[] = {
293 { "draftfolder", "Draft-Folder" },
294 { "whatnowproc", "whatnowproc" },
295 { NULL }
296};
297
292int 298int
293main (int argc, char **argv) 299main (int argc, char **argv)
294{ 300{
295 int rc; 301 int rc;
296 302
297 mh_getopt (&argc, &argv, options, MH_GETOPT_DEFAULT_FOLDER, 303 mh_getopt_ext (&argc, &argv, options, MH_GETOPT_DEFAULT_FOLDER, optinit,
298 args_doc, prog_doc, NULL); 304 args_doc, prog_doc, NULL);
299
300 if (!draftfolder)
301 draftfolder = mh_global_profile_get ("Draft-Folder", NULL);
302 if (!whatnowproc)
303 whatnowproc = mh_global_profile_get ("whatnowproc", NULL);
304
305 305
306 if (!format_str) 306 if (!format_str)
307 format_str = default_format_str; 307 format_str = default_format_str;

Return to:

Send suggestions and report system problems to the System administrator.