diff options
author | Matt Johnston <matt@ucc.asn.au> | 2014-07-27 22:06:26 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2014-07-27 22:06:26 +0800 |
commit | ed0552f21417ffb90d52ac12becb03cf6a03e13c (patch) | |
tree | 10929da2b6d8a4d48058825a9e3b68e1d33bc43a /common-runopts.c | |
parent | 5cf83a7212c0f353e7367766cc4bbf349e83ff0b (diff) |
Add '-V' for version
-h should exit with success
Update manpages
Diffstat (limited to 'common-runopts.c')
-rw-r--r-- | common-runopts.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common-runopts.c b/common-runopts.c index 699ebda..cdac77e 100644 --- a/common-runopts.c +++ b/common-runopts.c @@ -106,3 +106,8 @@ parse_ciphers_macs() } #endif +void print_version(const char* name) { + fprintf(stderr, "Dropbear %s v%s\n", name, DROPBEAR_VERSION); +} + + |