summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r--usr.bin/ssh/ssh.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c
index 842d97abf31..57596041028 100644
--- a/usr.bin/ssh/ssh.c
+++ b/usr.bin/ssh/ssh.c
@@ -18,7 +18,7 @@ Modified to work with SSL by Niels Provos <provos@citi.umich.edu> in Canada.
*/
#include "includes.h"
-RCSID("$Id: ssh.c,v 1.5 1999/09/29 06:15:00 deraadt Exp $");
+RCSID("$Id: ssh.c,v 1.6 1999/09/29 06:15:18 deraadt Exp $");
#include "xmalloc.h"
#include "ssh.h"
@@ -324,10 +324,13 @@ main(int ac, char **av)
break;
case 'v':
+ case 'V':
debug_flag = 1;
fprintf(stderr, "SSH Version %s, protocol version %d.%d.\n",
SSH_VERSION, PROTOCOL_MAJOR, PROTOCOL_MINOR);
fprintf(stderr, "Compiled with SSL.\n");
+ if (opt == 'V')
+ exit(0);
break;
case 'q':