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

Diff of /mailutils/mh/inc.c

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

revision 1.23 by gray, Mon Feb 10 01:08:09 2003 UTC revision 1.24 by gray, Sun Feb 16 11:35:44 2003 UTC
# Line 76  static int quiet = 0; Line 76  static int quiet = 0;
76  static char *append_folder;  static char *append_folder;
77    
78  static int  static int
79  opt_handler (int key, char *arg, void *unused)  opt_handler (int key, char *arg, void *unused, struct argp_state *state)
80  {  {
81    switch (key)    switch (key)
82      {      {
# Line 118  opt_handler (int key, char *arg, void *u Line 118  opt_handler (int key, char *arg, void *u
118        width = strtoul (arg, NULL, 0);        width = strtoul (arg, NULL, 0);
119        if (!width)        if (!width)
120          {          {
121            mh_error (_("Invalid width"));            argp_error (state, _("Invalid width"));
122            exit (1);            exit (1);
123          }          }
124        break;        break;
# Line 166  main (int argc, char **argv) Line 166  main (int argc, char **argv)
166    /* Native Language Support */    /* Native Language Support */
167    mu_init_nls ();    mu_init_nls ();
168    
169    mh_argp_parse (argc, argv, options, mh_option, args_doc, doc,    mh_argp_parse (argc, argv, 0, options, mh_option, args_doc, doc,
170                   opt_handler, NULL, NULL);                   opt_handler, NULL, NULL);
171    
172    if (!quiet && mh_format_parse (format_str, &format))    if (!quiet && mh_format_parse (format_str, &format))

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

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