summaryrefslogtreecommitdiff
path: root/src/tls_test.gaa
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-08-06 15:20:08 +0000
committerSimon Josefsson <simon@josefsson.org>2006-08-06 15:20:08 +0000
commit4fb137c3458834ebfb0aa4366476a36f79a4cedd (patch)
treedc29417047e6d595adfa5d09da9c04dab5418a58 /src/tls_test.gaa
parenta99e10e52a9c716c3a06c5596fbaae0eefd8f914 (diff)
downloadgnutls-4fb137c3458834ebfb0aa4366476a36f79a4cedd.tar.gz
Support --version.
Diffstat (limited to 'src/tls_test.gaa')
-rw-r--r--src/tls_test.gaa3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tls_test.gaa b/src/tls_test.gaa
index b72febd900..1d26464f8f 100644
--- a/src/tls_test.gaa
+++ b/src/tls_test.gaa
@@ -7,6 +7,8 @@
# include <io.h>
#endif
+void tls_test_version(void);
+
#}
helpnode "GNU TLS debug client\nUsage: gnutls-cli-debug [options] hostname\n\n"
@@ -20,6 +22,7 @@ option (d, debug) INT "integer" { $debug = $1 } "Enable debugging"
#int more_info;
option (v, verbose) { $more_info += 1 } "More verbose output"
+option (v, version) { tls_test_version(); exit(0); } "prints the program's version number"
option (h, help) { gaa_help(); exit(0); } "prints this help"