diff options
author | Damien Miller <djm@mindrot.org> | 2007-08-08 14:29:58 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2007-08-08 14:29:58 +1000 |
commit | 647d97b1ab1f8ef4dfa6c7a085b409e1c3609c6f (patch) | |
tree | c48d36c3bf37157e0a5254c35f65f69759048410 /scp.c | |
parent | 932040285fc0bf5a1a5bd5b3266ee3bf043cf7f1 (diff) |
- sobrado@cvs.openbsd.org 2007/08/06 19:16:06
[scp.1 scp.c]
the ellipsis is not an optional argument; while here, sync the usage
and synopsis of commands
lots of good ideas by jmc@
ok jmc@
Diffstat (limited to 'scp.c')
-rw-r--r-- | scp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: scp.c,v 1.159 2007/06/13 00:21:27 djm Exp $ */ | 1 | /* $OpenBSD: scp.c,v 1.160 2007/08/06 19:16:06 sobrado Exp $ */ |
2 | /* | 2 | /* |
3 | * scp - secure remote copy. This is basically patched BSD rcp which | 3 | * scp - secure remote copy. This is basically patched BSD rcp which |
4 | * uses ssh to do the data transfer (instead of using rcmd). | 4 | * uses ssh to do the data transfer (instead of using rcmd). |
@@ -1120,7 +1120,7 @@ usage(void) | |||
1120 | (void) fprintf(stderr, | 1120 | (void) fprintf(stderr, |
1121 | "usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]\n" | 1121 | "usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]\n" |
1122 | " [-l limit] [-o ssh_option] [-P port] [-S program]\n" | 1122 | " [-l limit] [-o ssh_option] [-P port] [-S program]\n" |
1123 | " [[user@]host1:]file1 [...] [[user@]host2:]file2\n"); | 1123 | " [[user@]host1:]file1 ... [[user@]host2:]file2\n"); |
1124 | exit(1); | 1124 | exit(1); |
1125 | } | 1125 | } |
1126 | 1126 | ||