summaryrefslogtreecommitdiff
path: root/trans/new-fifo.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2001-02-12 22:18:55 +0000
committerMarcus Brinkmann <marcus@gnu.org>2001-02-12 22:18:55 +0000
commit646ac529c3d679f49f7866ffd65dbd94c3a500a3 (patch)
tree338208fb17e7f5546e19943338efc8def9c432f6 /trans/new-fifo.c
parent2888457f4fc3ebfd5ec6e4f6baf5e02223b1c5c6 (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 'trans/new-fifo.c')
-rw-r--r--trans/new-fifo.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/trans/new-fifo.c b/trans/new-fifo.c
index f57da379..b3b57d84 100644
--- a/trans/new-fifo.c
+++ b/trans/new-fifo.c
@@ -36,8 +36,12 @@
#include <hurd/pipe.h>
#include <hurd/paths.h>
+#include <version.h>
+
#define DEFAULT_SERVER _SERVERS "fifo";
+const char *argp_program_version = STANDARD_HURD_VERSION (new-fifo);
+
struct port_bucket *port_bucket;
struct port_class *fifo_port_class, *server_port_class, *fsys_port_class;
@@ -164,7 +168,7 @@ fifo_trans_parse_args (struct fifo_trans *trans, int argc, char **argv,
}
return 0;
}
- struct argp argp = {options, parse_opt};
+ struct argp argp = {options, parse_opt, 0, "A translator for fifos." };
return argp_parse (&argp, argc, argv, print_errs ? 0 : ARGP_SILENT, 0, 0);
}