add -X to usage();
authorjmc <jmc@openbsd.org>
Fri, 16 Dec 2022 06:52:48 +0000 (06:52 +0000)
committerjmc <jmc@openbsd.org>
Fri, 16 Dec 2022 06:52:48 +0000 (06:52 +0000)
usr.bin/ssh/scp.c
usr.bin/ssh/sftp.c

index 0363e55..9946ff1 100644 (file)
@@ -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).
@@ -2037,8 +2037,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);
 }
 
index a224685..815e000 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp.c,v 1.223 2022/12/16 03:40:03 djm Exp $ */
+/* $OpenBSD: sftp.c,v 1.224 2022/12/16 06:52:48 jmc Exp $ */
 /*
  * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
  *
@@ -2362,7 +2362,7 @@ usage(void)
            "          [-D sftp_server_command] [-F ssh_config] [-i identity_file]\n"
            "          [-J destination] [-l limit] [-o ssh_option] [-P port]\n"
            "          [-R num_requests] [-S program] [-s subsystem | sftp_server]\n"
-           "          destination\n",
+           "          [-X sftp_option] destination\n",
            __progname);
        exit(1);
 }