diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2001-02-12 22:18:55 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2001-02-12 22:18:55 +0000 |
commit | 646ac529c3d679f49f7866ffd65dbd94c3a500a3 (patch) | |
tree | 338208fb17e7f5546e19943338efc8def9c432f6 /auth | |
parent | 2888457f4fc3ebfd5ec6e4f6baf5e02223b1c5c6 (diff) |
auth/
2001-02-12 Marcus Brinkmann <marcus@gnu.org>
* auth.c (main): New variable ARGP defining a doc string.
Pass address of ARGP to argp_parse().
exec/
2001-02-12 Marcus Brinkmann <marcus@gnu.org>
* main.c: Change hurd version name from proc to exec.
(main): Add period to doc string.
ftpfs/
2001-02-12 Marcus Brinkmann <marcus@gnu.org>
* ftpfs.c: Include <version.h>. Add global variable
ARGP_PROGRAM_VERSION. Add period to DOC.
hostmux/
2001-02-12 Marcus Brinkmann <marcus@gnu.org>
* hostmux.c: Include <version.h>. Add global variable
ARGP_PROGRAM_VERSION. Add period to DOC.
usermux/
2001-02-12 Marcus Brinkmann <marcus@gnu.org>
* usermux.c (options): Include <version.h>. Add global variable
ARGP_PROGRAM_VERSION. Add period to DOC.
trans/
2001-02-12 Marcus Brinkmann <marcus@gnu.org>
* 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 <version.h>, new global variable ARGP_PROGRAM_VERSION.
* crash.c: Include <version.h>, add global variable
ARGP_PROGRAM_VERSION.
* hello.c: Include <version.h>, 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.
Diffstat (limited to 'auth')
-rw-r--r-- | auth/ChangeLog | 5 | ||||
-rw-r--r-- | auth/auth.c | 3 |
2 files changed, 7 insertions, 1 deletions
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 <marcus@gnu.org> + + * auth.c (main): New variable ARGP defining a doc string. + Pass address of ARGP to argp_parse(). + 2000-07-26 Mark Kettenis <kettenis@gnu.org> * 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); |