diff options
Diffstat (limited to 'trans/hello-mt.c')
-rw-r--r-- | trans/hello-mt.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/trans/hello-mt.c b/trans/hello-mt.c index 2aebbba0..f0d78614 100644 --- a/trans/hello-mt.c +++ b/trans/hello-mt.c @@ -28,6 +28,10 @@ #include <cthreads.h> #include <rwlock.h> +#include <version.h> + +const char *argp_program_version = STANDARD_HURD_VERSION (hello-mt); + /* The message we return when we are read. */ static const char hello[] = "Hello, world!\n"; static char *contents = (char *) hello; @@ -273,7 +277,9 @@ trivfs_append_args (struct trivfs_control *fsys, return err; } -static struct argp hello_argp = { options, parse_opt, 0, 0 }; +static struct argp hello_argp = +{ options, parse_opt, 0, + "A multi-threaded translator providing a warm greeting." }; /* Setting this variable makes libtrivfs use our argp to parse options passed in an fsys_set_options RPC. */ |