diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2020-06-19 07:21:42 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2020-06-22 16:11:14 +1000 |
commit | 00531bb42f1af17ddabea59c3d9c4b0629000d27 (patch) | |
tree | 06ba615ec885a705d141ee91e091c60c9f63b43f /ssh-agent.c | |
parent | b4556c8ad7177e379f0b60305a0cd70f12180e7c (diff) |
upstream: Correct synopsis and usage for the options accepted when
passing a command to ssh-agent. ok jmc@
OpenBSD-Commit-ID: b36f0679cb0cac0e33b361051b3406ade82ea846
Diffstat (limited to 'ssh-agent.c')
-rw-r--r-- | ssh-agent.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ssh-agent.c b/ssh-agent.c index effffffed..596c39582 100644 --- a/ssh-agent.c +++ b/ssh-agent.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-agent.c,v 1.258 2020/05/26 01:26:58 djm Exp $ */ | 1 | /* $OpenBSD: ssh-agent.c,v 1.259 2020/06/19 07:21:42 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1254,7 +1254,9 @@ usage(void) | |||
1254 | { | 1254 | { |
1255 | fprintf(stderr, | 1255 | fprintf(stderr, |
1256 | "usage: ssh-agent [-c | -s] [-Dd] [-a bind_address] [-E fingerprint_hash]\n" | 1256 | "usage: ssh-agent [-c | -s] [-Dd] [-a bind_address] [-E fingerprint_hash]\n" |
1257 | " [-P provider_whitelist] [-t life] [command [arg ...]]\n" | 1257 | " [-P provider_whitelist] [-t life]\n" |
1258 | " ssh-agent [-a bind_address] [-E fingerprint_hash] [-P provider_whitelist]\n" | ||
1259 | " [-t life] command [arg ...]\n" | ||
1258 | " ssh-agent [-c | -s] -k\n"); | 1260 | " ssh-agent [-c | -s] -k\n"); |
1259 | exit(1); | 1261 | exit(1); |
1260 | } | 1262 | } |