summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/appl/xnlock/xnlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/heimdal/appl/xnlock/xnlock.c')
-rw-r--r--crypto/heimdal/appl/xnlock/xnlock.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/heimdal/appl/xnlock/xnlock.c b/crypto/heimdal/appl/xnlock/xnlock.c
index eadb80a..acfff2f 100644
--- a/crypto/heimdal/appl/xnlock/xnlock.c
+++ b/crypto/heimdal/appl/xnlock/xnlock.c
@@ -8,7 +8,7 @@
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
-RCSID("$Id: xnlock.c,v 1.89 2001/09/10 14:12:43 assar Exp $");
+RCSID("$Id: xnlock.c,v 1.90 2002/08/23 19:29:38 assar Exp $");
#endif
#include <stdio.h>
@@ -241,6 +241,9 @@ init_words (int argc, char **argv)
if (appres.file == NULL)
errx (1, "cannot allocate memory for message");
}
+ } else if(strcmp(argv[i], "--version") == 0) {
+ print_version(NULL);
+ exit(0);
} else {
int j;
int len = 1;
OpenPOWER on IntegriCloud