22 |
#include <mailutils/argp.h> |
#include <mailutils/argp.h> |
23 |
#include <mu_asprintf.h> |
#include <mu_asprintf.h> |
24 |
|
|
25 |
const char *argp_program_version = "mailutils-config (" PACKAGE_STRING ")"; |
const char *program_version = "mailutils-config (" PACKAGE_STRING ")"; |
26 |
static char doc[] = N_("GNU mailutils-config -- Display compiler and loader options needed for building a program with mailutils"); |
static char doc[] = N_("GNU mailutils-config -- Display compiler and loader options needed for building a program with mailutils"); |
27 |
static char args_doc[] = N_("[arg...]"); |
static char args_doc[] = N_("[arg...]"); |
28 |
|
|
94 |
{ |
{ |
95 |
int index; |
int index; |
96 |
|
|
97 |
|
mu_argp_init (program_version, NULL); |
98 |
if (mu_argp_parse (&argp, &argc, &argv, 0, argp_capa, &index, NULL)) |
if (mu_argp_parse (&argp, &argc, &argv, 0, argp_capa, &index, NULL)) |
99 |
{ |
{ |
100 |
argp_help (&argp, stdout, ARGP_HELP_SEE, program_invocation_short_name); |
argp_help (&argp, stdout, ARGP_HELP_SEE, program_invocation_short_name); |