s_server: make -rev option easier to find (mention echo)
authorHubert Kario <hkario@redhat.com>
Mon, 14 Jun 2021 11:38:02 +0000 (13:38 +0200)
committerDmitry Belyavskiy <beldmit@gmail.com>
Tue, 15 Jun 2021 13:16:15 +0000 (15:16 +0200)
Since the service is echo-like (see TCP port 7 from RFC 862 or
gnutls-serv --echo), make it easier to find by mentioning "echo" in
the description of it in the help message an man page

Also fixes the man page inconsistency ("sends it back to the server")

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/15739)

apps/s_server.c
doc/man1/openssl-s_server.pod.in

index e32d25e80037e46673eef6d95ea34f1f696808a5..9c0c467ed66d3f55cb4edbb1ce85160ae5c85e58 100644 (file)
@@ -856,7 +856,7 @@ const OPTIONS s_server_options[] = {
     {"brief", OPT_BRIEF, '-',
      "Restrict output to brief summary of connection parameters"},
     {"rev", OPT_REV, '-',
-     "act as a simple test server which just sends back with the received text reversed"},
+     "act as an echo server that sends back received text reversed"},
     {"debug", OPT_DEBUG, '-', "Print more output"},
     {"msg", OPT_MSG, '-', "Show protocol messages"},
     {"msgfile", OPT_MSGFILE, '>',
index 97852ae7bff025ed83aaa36c9b650e47339969c6..c4289a12e35ee8badd604318213ab14ecb41d097 100644 (file)
@@ -545,9 +545,8 @@ output.
 
 =item B<-rev>
 
-Simple test server which just reverses the text received from the client
-and sends it back to the server. Also sets B<-brief>. Cannot be used in
-conjunction with B<-early_data>.
+Simple echo server that sends back received text reversed. Also sets B<-brief>.
+Cannot be used in conjunction with B<-early_data>.
 
 =item B<-async>