summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-06 23:08:25 +0000
committerMiles Bader <miles@gnu.org>1996-07-06 23:08:25 +0000
commita65aabc3dfb6ddcd91e470a98b49fa376f59a838 (patch)
tree890b23a14c94269559d49e3379a1a89cec99e5e6
parent1ce6c861243504134bec5619a31aa3b852887d81 (diff)
(argp_program_version): New variable.
-rw-r--r--utils/fsysopts.c2
-rw-r--r--utils/hurdids.c2
-rw-r--r--utils/login.c2
-rw-r--r--utils/portinfo.c2
-rw-r--r--utils/ps.c2
-rw-r--r--utils/settrans.c2
-rw-r--r--utils/showtrans.c2
-rw-r--r--utils/storeinfo.c2
-rw-r--r--utils/w.c2
9 files changed, 18 insertions, 0 deletions
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 <hurd/fsys.h>
+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 <error.h>
#include <hurd/id.h>
+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 <portinfo.h>
#include <portxlate.h>
+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 <ps.h>
#include <error.h>
#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 <argz.h>
#include <hurd/fshelp.h>
+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 <error.h>
#include <argz.h>
+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 <hurd/fs.h>
#include <hurd/store.h>
+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