summaryrefslogtreecommitdiff
path: root/scp.c
diff options
context:
space:
mode:
authorjmc@openbsd.org <jmc@openbsd.org>2022-12-16 06:52:48 +0000
committerDarren Tucker <dtucker@dtucker.net>2023-01-03 17:53:05 +1100
commit4acfaabfae41badb9d334a2ee88c5c6ad041c0d5 (patch)
treee06c65a652570d12249c42946b5b487045a3271b /scp.c
parente555d5cad5afae7d5ef2bbc02ca591178fe16fed (diff)
downloadopenssh-git-4acfaabfae41badb9d334a2ee88c5c6ad041c0d5.tar.gz
upstream: add -X to usage();
OpenBSD-Commit-ID: 1bdc3df7de11d766587b0428318336dbffe4a9d0
Diffstat (limited to 'scp.c')
-rw-r--r--scp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scp.c b/scp.c
index 6b2df863..9e74c9d4 100644
--- a/scp.c
+++ b/scp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scp.c,v 1.250 2022/12/16 03:40:03 djm Exp $ */
+/* $OpenBSD: scp.c,v 1.251 2022/12/16 06:52:48 jmc Exp $ */
/*
* scp - secure remote copy. This is basically patched BSD rcp which
* uses ssh to do the data transfer (instead of using rcmd).
@@ -2078,8 +2078,8 @@ usage(void)
{
(void) fprintf(stderr,
"usage: scp [-346ABCOpqRrsTv] [-c cipher] [-D sftp_server_path] [-F ssh_config]\n"
- " [-i identity_file] [-J destination] [-l limit]\n"
- " [-o ssh_option] [-P port] [-S program] source ... target\n");
+ " [-i identity_file] [-J destination] [-l limit] [-o ssh_option]\n"
+ " [-P port] [-S program] [-X sftp_option] source ... target\n");
exit(1);
}