/[mailutils]/mailutils/mh/comp.c
ViewVC logotype

Diff of /mailutils/mh/comp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by gray, Mon Feb 10 01:08:09 2003 UTC revision 1.8 by gray, Sun Feb 16 11:26:12 2003 UTC
# Line 85  static int query_mode = 0; /* --query fl Line 85  static int query_mode = 0; /* --query fl
85  static int use_draft = 0;  /* --use flag */  static int use_draft = 0;  /* --use flag */
86    
87  static int  static int
88  opt_handler (int key, char *arg, void *unused)  opt_handler (int key, char *arg, void *unused, struct argp_state *state)
89  {  {
90    switch (key)    switch (key)
91      {      {
# Line 132  opt_handler (int key, char *arg, void *u Line 132  opt_handler (int key, char *arg, void *u
132                
133      case ARG_WHATNOWPROC:      case ARG_WHATNOWPROC:
134      case ARG_NOWHATNOWPROC:      case ARG_NOWHATNOWPROC:
135        mh_error (_("option is not yet implemented"));        argp_error (state, _("option is not yet implemented"));
136        exit (1);        exit (1);
137                
138      default:      default:
# Line 223  main (int argc, char **argv) Line 223  main (int argc, char **argv)
223    /* Native Language Support */    /* Native Language Support */
224    mu_init_nls ();    mu_init_nls ();
225    
226    mh_argp_parse (argc, argv, options, mh_option, args_doc, doc,    mh_argp_parse (argc, argv, 0, options, mh_option, args_doc, doc,
227                   opt_handler, NULL, &index);                   opt_handler, NULL, &index);
228    
229    if (!wh_env.draftfolder)    if (!wh_env.draftfolder)

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26