From 646ac529c3d679f49f7866ffd65dbd94c3a500a3 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Mon, 12 Feb 2001 22:18:55 +0000 Subject: auth/ 2001-02-12 Marcus Brinkmann * auth.c (main): New variable ARGP defining a doc string. Pass address of ARGP to argp_parse(). exec/ 2001-02-12 Marcus Brinkmann * main.c: Change hurd version name from proc to exec. (main): Add period to doc string. ftpfs/ 2001-02-12 Marcus Brinkmann * ftpfs.c: Include . Add global variable ARGP_PROGRAM_VERSION. Add period to DOC. hostmux/ 2001-02-12 Marcus Brinkmann * hostmux.c: Include . Add global variable ARGP_PROGRAM_VERSION. Add period to DOC. usermux/ 2001-02-12 Marcus Brinkmann * usermux.c (options): Include . Add global variable ARGP_PROGRAM_VERSION. Add period to DOC. trans/ 2001-02-12 Marcus Brinkmann * fifo.c: Make version string say `fifo', not `null'. Add period to doc text in ARGP. * firmlink.c: Add period to doc text in ARGP_DOC, convert semi-colon to colon. * magic.c (options): Add period to DOC. * new-fifo.c (fifo_trans_parse_args): Add doc string to ARGP. Include , new global variable ARGP_PROGRAM_VERSION. * crash.c: Include , add global variable ARGP_PROGRAM_VERSION. * hello.c: Include , add global variable ARGP_PROGRAM_VERSION. (hello_argp): Add doc string. * hello-mt.c: Likewise. * streamio.c: Add period to DOC. Change streamdev to streamio in version string. * password.c (main): Add period to doc string in ARGP. --- auth/ChangeLog | 5 +++++ auth/auth.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'auth') diff --git a/auth/ChangeLog b/auth/ChangeLog index dbf923a8..0ef5d5dc 100644 --- a/auth/ChangeLog +++ b/auth/ChangeLog @@ -1,3 +1,8 @@ +2001-02-12 Marcus Brinkmann + + * auth.c (main): New variable ARGP defining a doc string. + Pass address of ARGP to argp_parse(). + 2000-07-26 Mark Kettenis * Makefile (HURDLIBS): Reorder libs such that the threads lib diff --git a/auth/auth.c b/auth/auth.c index dd164934..0176d30c 100644 --- a/auth/auth.c +++ b/auth/auth.c @@ -451,8 +451,9 @@ main (int argc, char **argv) process_t proc; mach_port_t hostpriv, masterdev; struct authhandle *firstauth; + struct argp argp = { 0, 0, 0, "Hurd standard authentication server." }; - argp_parse (0, argc, argv, 0, 0, 0); + argp_parse (&argp, argc, argv, 0, 0, 0); auth_bucket = ports_create_bucket (); authhandle_portclass = ports_create_class (&destroy_authhandle, 0); -- cgit v1.2.3