Commit 7d617e23 7d617e236fc5d5ee8280ff01021148dfc1f2e183 by Sergey Poznyakoff

(struct argp_option options): Removed irrelevant OPTION_DOC.

(main): Set default replyprefix
1 parent 146edd66
...@@ -45,11 +45,7 @@ static struct argp_option options[] = { ...@@ -45,11 +45,7 @@ static struct argp_option options[] = {
45 {"subject", 's', N_("SUBJ"), 0, N_("Send a message with a Subject of SUBJ"), 0}, 45 {"subject", 's', N_("SUBJ"), 0, N_("Send a message with a Subject of SUBJ"), 0},
46 {"to", 't', 0, 0, N_("Precede message by a list of addresses"), 0}, 46 {"to", 't', 0, 0, N_("Precede message by a list of addresses"), 0},
47 {"user", 'u', N_("USER"), 0, N_("Operate on USER's mailbox"), 0}, 47 {"user", 'u', N_("USER"), 0, N_("Operate on USER's mailbox"), 0},
48 {NULL, 0, NULL, OPTION_DOC, 48
49 N_("Note: Argument to --file (-f) option is optional. If it is present, "
50 "it must follow the short option immediately, without any intervening "
51 "whitespace. If it is used with the long option, it must be separated "
52 "from it by an equal sign, with no intervening whitespace."), 0},
53 { NULL, 0, NULL, 0, NULL, 0 } 49 { NULL, 0, NULL, 0, NULL, 0 }
54 }; 50 };
55 51
...@@ -128,7 +124,7 @@ parse_opt (int key, char *arg, struct argp_state *state) ...@@ -128,7 +124,7 @@ parse_opt (int key, char *arg, struct argp_state *state)
128 case 'F': 124 case 'F':
129 util_cache_command (&command_list, "set byname"); 125 util_cache_command (&command_list, "set byname");
130 break; 126 break;
131 127
132 case ARGP_KEY_ARG: 128 case ARGP_KEY_ARG:
133 /* People often tend to separate -f option from its argument 129 /* People often tend to separate -f option from its argument
134 with a whitespace. This heuristics tries to catch the 130 with a whitespace. This heuristics tries to catch the
...@@ -304,6 +300,7 @@ main (int argc, char **argv) ...@@ -304,6 +300,7 @@ main (int argc, char **argv)
304 util_do_command ("set toplines=5"); 300 util_do_command ("set toplines=5");
305 util_do_command ("set autoinc"); 301 util_do_command ("set autoinc");
306 util_do_command ("set regex"); 302 util_do_command ("set regex");
303 util_do_command ("set replyprefix=\"Re: \"");
307 /* Start in mail reading mode */ 304 /* Start in mail reading mode */
308 util_do_command ("set mode=read"); 305 util_do_command ("set mode=read");
309 util_do_command ("set noquit"); 306 util_do_command ("set noquit");
......