summaryrefslogtreecommitdiff
path: root/ssh-agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-agent.c')
-rw-r--r--ssh-agent.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/ssh-agent.c b/ssh-agent.c
index 3e8eb0601..a004e3246 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-agent.c,v 1.71 2001/08/02 16:14:05 jakob Exp $ */ 1/* $OpenBSD: ssh-agent.c,v 1.72 2001/08/03 10:31:30 jakob Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -36,7 +36,7 @@
36 */ 36 */
37 37
38#include "includes.h" 38#include "includes.h"
39RCSID("$OpenBSD: ssh-agent.c,v 1.71 2001/08/02 16:14:05 jakob Exp $"); 39RCSID("$OpenBSD: ssh-agent.c,v 1.72 2001/08/03 10:31:30 jakob Exp $");
40 40
41#include <openssl/evp.h> 41#include <openssl/evp.h>
42#include <openssl/md5.h> 42#include <openssl/md5.h>
@@ -821,9 +821,13 @@ check_parent_exists(int sig)
821static void 821static void
822usage(void) 822usage(void)
823{ 823{
824 fprintf(stderr, "ssh-agent version %s\n", SSH_VERSION); 824 fprintf(stderr, "Usage: %s [options] [command [args ...]]\n",
825 fprintf(stderr, "Usage: %s [-c | -s] [-k] [-d] [command [args...]]\n",
826 __progname); 825 __progname);
826 fprintf(stderr, "Options:\n");
827 fprintf(stderr, " -c Generate C-shell commands on stdout.\n");
828 fprintf(stderr, " -s Generate Bourne shell commands on stdout.\n");
829 fprintf(stderr, " -k Kill the current agent.\n");
830 fprintf(stderr, " -d Debug mode.\n");
827 exit(1); 831 exit(1);
828} 832}
829 833