[openssh-commits] [openssh] 01/10: upstream: Remove scp '-s' flag from synopsis, the flag has been a
git+noreply at mindrot.org
git+noreply at mindrot.org
Tue Sep 15 15:38:05 AEST 2026
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 8cae676a35b11e7d42ab90bbfc9605be56519d1f
Author: job at openbsd.org <job at openbsd.org>
AuthorDate: Thu Sep 3 16:02:45 2026 +0000
upstream: Remove scp '-s' flag from synopsis, the flag has been a
no-op for some time now
OK djm@
OpenBSD-Commit-ID: c272de443c8fb72f470a5e1fa482d5dae5536e85
---
scp.1 | 6 +++---
scp.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/scp.1 b/scp.1
index 7bce0fe6f..6daf59420 100644
--- a/scp.1
+++ b/scp.1
@@ -8,9 +8,9 @@
.\"
.\" Created: Sun May 7 00:14:37 1995 ylo
.\"
-.\" $OpenBSD: scp.1,v 1.115 2025/10/04 21:41:35 naddy Exp $
+.\" $OpenBSD: scp.1,v 1.116 2026/09/03 16:02:45 job Exp $
.\"
-.Dd $Mdocdate: October 4 2025 $
+.Dd $Mdocdate: September 3 2026 $
.Dt SCP 1
.Os
.Sh NAME
@@ -18,7 +18,7 @@
.Nd OpenSSH secure file copy
.Sh SYNOPSIS
.Nm scp
-.Op Fl 346ABCOpqRrsTv
+.Op Fl 346ABCOpqRrTv
.Op Fl c Ar cipher
.Op Fl D Ar sftp_server_path
.Op Fl F Ar ssh_config
diff --git a/scp.c b/scp.c
index 28ac7a29d..5c779b92d 100644
--- a/scp.c
+++ b/scp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scp.c,v 1.275 2026/06/28 23:47:16 djm Exp $ */
+/* $OpenBSD: scp.c,v 1.276 2026/09/03 16:02:45 job Exp $ */
/*
* scp - secure remote copy. This is basically patched BSD rcp which
* uses ssh to do the data transfer (instead of using rcmd).
@@ -527,7 +527,7 @@ main(int argc, char **argv)
mode = MODE_SCP;
break;
case 's':
- mode = MODE_SFTP;
+ /* Ignored */
break;
case 'P':
sshport = a2port(optarg);
@@ -2116,7 +2116,7 @@ void
usage(void)
{
(void) fprintf(stderr,
- "usage: scp [-346ABCOpqRrsTv] [-c cipher] [-D sftp_server_path] [-F ssh_config]\n"
+ "usage: scp [-346ABCOpqRrTv] [-c cipher] [-D sftp_server_path] [-F ssh_config]\n"
" [-i identity_file] [-J destination] [-l limit] [-o ssh_option]\n"
" [-P port] [-S program] [-X sftp_option] source ... target\n");
exit(1);
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list