]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
partial sync of regress/netcat.c with upstream
authorsobrado <sobrado@openbsd.org>
Thu, 3 Sep 2015 23:06:28 +0000 (23:06 +0000)
committerDamien Miller <djm@mindrot.org>
Fri, 29 May 2020 04:48:02 +0000 (14:48 +1000)
synchronize synopsis and usage.

regress/netcat.c

index 92ff989396774f8fb2d446e2bad9cfc89fe8d55a..24395263fc1b2d77621fc0485667e13a4204c8ea 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: netcat.c,v 1.130 2015/07/26 19:12:28 chl Exp $ */
+/* $OpenBSD: netcat.c,v 1.131 2015/09/03 23:06:28 sobrado Exp $ */
 /*
  * Copyright (c) 2001 Eric Jackson <ericj@monkey.org>
  *
@@ -1333,7 +1333,7 @@ usage(int ret)
 {
        fprintf(stderr,
            "usage: nc [-46DdFhklNnrStUuvz] [-I length] [-i interval] [-O length]\n"
-           "\t  [-P proxy_username] [-p source_port] [-s source] [-T ToS]\n"
+           "\t  [-P proxy_username] [-p source_port] [-s source] [-T toskeyword]\n"
            "\t  [-V rtable] [-w timeout] [-X proxy_protocol]\n"
            "\t  [-x proxy_address[:port]] [destination] [port]\n");
        if (ret)