Fixed args_doc string. Use new mh_msgset_parse() syntax.
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -21,7 +21,7 @@ | ... | @@ -21,7 +21,7 @@ |
21 | 21 | ||
22 | const char *argp_program_version = "rmm (" PACKAGE_STRING ")"; | 22 | const char *argp_program_version = "rmm (" PACKAGE_STRING ")"; |
23 | static char doc[] = "GNU MH rmm"; | 23 | static char doc[] = "GNU MH rmm"; |
24 | static char args_doc[] = "[+folder][messages]"; | 24 | static char args_doc[] = "[+folder] [msgs]"; |
25 | 25 | ||
26 | /* GNU options */ | 26 | /* GNU options */ |
27 | static struct argp_option options[] = { | 27 | static struct argp_option options[] = { |
... | @@ -73,7 +73,7 @@ main (int argc, char **argv) | ... | @@ -73,7 +73,7 @@ main (int argc, char **argv) |
73 | 73 | ||
74 | mbox = mh_open_folder (current_folder, 0); | 74 | mbox = mh_open_folder (current_folder, 0); |
75 | 75 | ||
76 | mh_msgset_parse (mbox, &msgset, argc - index, argv + index); | 76 | mh_msgset_parse (mbox, &msgset, argc - index, argv + index, "cur"); |
77 | 77 | ||
78 | status = mh_iterate (mbox, &msgset, rmm, NULL); | 78 | status = mh_iterate (mbox, &msgset, rmm, NULL); |
79 | 79 | ... | ... |
-
Please register or sign in to post a comment