]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: sort -N and add it to usage();
authorjmc@openbsd.org <jmc@openbsd.org>
Fri, 3 Apr 2020 05:53:52 +0000 (05:53 +0000)
committerDamien Miller <djm@mindrot.org>
Fri, 3 Apr 2020 06:09:42 +0000 (17:09 +1100)
OpenBSD-Commit-ID: 5b00e8db37c2b0a54c7831fed9e5f4db53ada332

sftp.1
sftp.c

diff --git a/sftp.1 b/sftp.1
index 146d706d8af339898f42bb05a334ec2dea3e8ea2..e48158b568e6af9a5d846a4e34cd7a27fa29515c 100644 (file)
--- a/sftp.1
+++ b/sftp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sftp.1,v 1.129 2020/04/03 04:34:15 djm Exp $
+.\" $OpenBSD: sftp.1,v 1.130 2020/04/03 05:53:52 jmc Exp $
 .\"
 .\" Copyright (c) 2001 Damien Miller.  All rights reserved.
 .\"
@@ -197,6 +197,10 @@ This option is directly passed to
 .Xr ssh 1 .
 .It Fl l Ar limit
 Limits the used bandwidth, specified in Kbit/s.
+.It Fl N
+Disables quiet mode, e.g. to override the implicit quiet mode set by the
+.Fl b
+flag.
 .It Fl o Ar ssh_option
 Can be used to pass options to
 .Nm ssh
@@ -275,10 +279,6 @@ For full details of the options listed below, and their possible values, see
 .El
 .It Fl P Ar port
 Specifies the port to connect to on the remote host.
-.It Fl N
-Disables quiet mode, e.g. to override the implicit quiet mode set by the
-.Fl b
-flag.
 .It Fl p
 Preserves modification times, access times, and modes from the
 original files transferred.
diff --git a/sftp.c b/sftp.c
index 2cef84db7b56e4f572d9ff545388a18edde16b45..2799e4a109bd5b3308ea6e2c74f94ac0bf05ee48 100644 (file)
--- a/sftp.c
+++ b/sftp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp.c,v 1.199 2020/04/03 04:34:15 djm Exp $ */
+/* $OpenBSD: sftp.c,v 1.200 2020/04/03 05:53:52 jmc Exp $ */
 /*
  * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
  *
@@ -2363,7 +2363,7 @@ usage(void)
        extern char *__progname;
 
        fprintf(stderr,
-           "usage: %s [-46aCfpqrv] [-B buffer_size] [-b batchfile] [-c cipher]\n"
+           "usage: %s [-46aCfNpqrv] [-B buffer_size] [-b batchfile] [-c cipher]\n"
            "          [-D sftp_server_path] [-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"