diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-03-29 17:09:54 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-03-29 17:09:54 +0000 |
commit | 587fbc3aa0015132504f5604fdbe798895d2afcf (patch) | |
tree | 6168b7dce051fd34b4c31398f0770dcc5ed45114 /comsat/comsat.c | |
parent | b49ffcc453925dd43e25c2b75160efc09b9acf3b (diff) | |
download | mailutils-587fbc3aa0015132504f5604fdbe798895d2afcf.tar.gz mailutils-587fbc3aa0015132504f5604fdbe798895d2afcf.tar.bz2 |
(main): Use mu_argp_init.
Diffstat (limited to 'comsat/comsat.c')
-rw-r--r-- | comsat/comsat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/comsat/comsat.c b/comsat/comsat.c index 66949663a..441dbdcf8 100644 --- a/comsat/comsat.c +++ b/comsat/comsat.c @@ -50,7 +50,7 @@ typedef struct utmp UTMP; #define MAX_TTY_SIZE (sizeof (PATH_TTY_PFX) + sizeof (((UTMP*)0)->ut_line)) -const char *argp_program_version = "comsatd (" PACKAGE_STRING ")"; +const char *program_version = "comsatd (" PACKAGE_STRING ")"; static char doc[] = "GNU comsatd"; static struct argp_option options[] = @@ -139,6 +139,7 @@ main(int argc, char **argv) /* Native Language Support */ mu_init_nls (); + mu_argp_init (program_version, NULL); mu_argp_parse (&argp, &argc, &argv, 0, comsat_argp_capa, NULL, &daemon_param); |