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 |
{ |
{ |
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; |
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)) |