From a65aabc3dfb6ddcd91e470a98b49fa376f59a838 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sat, 6 Jul 1996 23:08:25 +0000 Subject: (argp_program_version): New variable. --- utils/fsysopts.c | 2 ++ utils/hurdids.c | 2 ++ utils/login.c | 2 ++ utils/portinfo.c | 2 ++ utils/ps.c | 2 ++ utils/settrans.c | 2 ++ utils/showtrans.c | 2 ++ utils/storeinfo.c | 2 ++ utils/w.c | 2 ++ 9 files changed, 18 insertions(+) diff --git a/utils/fsysopts.c b/utils/fsysopts.c index 84b91aa5..d69f1147 100644 --- a/utils/fsysopts.c +++ b/utils/fsysopts.c @@ -31,6 +31,8 @@ #include +char *argp_program_version = "fsysopts 1.0 (GNU " HURD_RELEASE ")"; + static struct argp_option options[] = { {"dereference", 'L', 0, 0, "If FILESYS is a symbolic link, follow it"}, diff --git a/utils/hurdids.c b/utils/hurdids.c index 37fd4f7d..18eb3c41 100644 --- a/utils/hurdids.c +++ b/utils/hurdids.c @@ -30,6 +30,8 @@ #include #include +char *argp_program_version = "hurdids 1.0 (GNU " HURD_RELEASE ")"; + static struct argp_option options[] = { {"effective", 'e', 0, 0, "Show effective ids"}, diff --git a/utils/login.c b/utils/login.c index e5620963..c8a9a0ef 100644 --- a/utils/login.c +++ b/utils/login.c @@ -48,6 +48,8 @@ extern error_t exec_reauth (auth_t auth, int secure, int must_reauth, mach_port_t *ports, unsigned num_ports, mach_port_t *fds, unsigned num_fds); + +char *argp_program_version = "login 1.0 (GNU " HURD_RELEASE ")"; /* Defaults for various login parameters. */ char *default_args[] = { diff --git a/utils/portinfo.c b/utils/portinfo.c index b4ab6cfb..46cc5160 100644 --- a/utils/portinfo.c +++ b/utils/portinfo.c @@ -34,6 +34,8 @@ #include #include +char *argp_program_version = "portinfo 1.0 (GNU " HURD_RELEASE ")"; + static const struct argp_option options[] = { {0,0,0,0,0, 1}, {"verbose", 'v', 0, 0, "Give more detailed information"}, diff --git a/utils/ps.c b/utils/ps.c index f70a59e3..1ee5b806 100644 --- a/utils/ps.c +++ b/utils/ps.c @@ -31,6 +31,8 @@ #include #include #include "psout.h" + +char *argp_program_version = "ps 1.0 (GNU " HURD_RELEASE ")"; /* Long options without corresponding short ones. -1 is EOF. */ #define OPT_LOGIN -2 diff --git a/utils/settrans.c b/utils/settrans.c index 4be753dc..d39f375b 100644 --- a/utils/settrans.c +++ b/utils/settrans.c @@ -30,6 +30,8 @@ #include #include +char *argp_program_version = "settrans 1.0 (GNU " HURD_RELEASE ")"; + #define DEFAULT_TIMEOUT 60 #define _STRINGIFY(arg) #arg diff --git a/utils/showtrans.c b/utils/showtrans.c index 56255050..d6acfd9d 100644 --- a/utils/showtrans.c +++ b/utils/showtrans.c @@ -29,6 +29,8 @@ #include #include +char *argp_program_version = "showtrans 1.0 (GNU " HURD_RELEASE ")"; + static struct argp_option options[] = { {"prefix", 'p', 0, 0, "Always display `FILENAME: ' before translators"}, diff --git a/utils/storeinfo.c b/utils/storeinfo.c index 82d756d3..ba6d0654 100644 --- a/utils/storeinfo.c +++ b/utils/storeinfo.c @@ -31,6 +31,8 @@ #include #include +char *argp_program_version = "storeinfo 1.0 (GNU " HURD_RELEASE ")"; + static struct argp_option options[] = { {"kind", 'k', 0, 0, "Print the type of store behind FILE"}, diff --git a/utils/w.c b/utils/w.c index f39564a0..e624ef83 100644 --- a/utils/w.c +++ b/utils/w.c @@ -47,6 +47,8 @@ extern char *canon_host (char *host); extern char *shared_domain (char *host1, char *host2); extern char *localhost (); + +char *argp_program_version = "w 1.0 (GNU " HURD_RELEASE ")"; /* Long options without corresponding short ones. -1 is EOF. */ #define OPT_SORT -4 -- cgit v1.2.3