46 |
#include <mailutils/stream.h> |
#include <mailutils/stream.h> |
47 |
#include <mailutils/nls.h> |
#include <mailutils/nls.h> |
48 |
|
|
49 |
const char *argp_program_version = "from (" PACKAGE_STRING ")"; |
const char *program_version = "from (" PACKAGE_STRING ")"; |
50 |
static char doc[] = N_("GNU from -- display from and subject"); |
static char doc[] = N_("GNU from -- display from and subject"); |
51 |
|
|
52 |
static struct argp_option options[] = { |
static struct argp_option options[] = { |
103 |
|
|
104 |
{ |
{ |
105 |
int opt; |
int opt; |
106 |
|
mu_argp_init (program_version, NULL); |
107 |
mu_argp_parse (&argp, &argc, &argv, 0, capa, &opt, NULL); |
mu_argp_parse (&argp, &argc, &argv, 0, capa, &opt, NULL); |
108 |
mailbox_name = argv[opt]; |
mailbox_name = argv[opt]; |
109 |
} |
} |