From bdbddbc805d1d0450476707f20ccbbde2ede8cf7 Mon Sep 17 00:00:00 2001
From: Evan Haas <evan@lagerdata.com>
Date: Sat, 11 Apr 2020 20:46:14 -0700
Subject: fixes #1007 nngcat should accept data from stdin

Allows passing a filename of `-` to the `--file` option in order to read from
stdin. Also removes the requirement for the file to be seekable - this allows
nngcat to be used as part of a shell pipeline, or with other non-seekable files
---
 docs/man/nngcat.1.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'docs/man/nngcat.1.adoc')

diff --git a/docs/man/nngcat.1.adoc b/docs/man/nngcat.1.adoc
index f7850d34..fecc98c1 100644
--- a/docs/man/nngcat.1.adoc
+++ b/docs/man/nngcat.1.adoc
@@ -242,7 +242,7 @@ Protocols that support sending data can use these options to select the data.
   Use _DATA_ for the body of outgoing messages.
 
 *-F, --file*=_FILE_::
-  Use _FILE_ for the body of outgoing messages.
+  Use _FILE_ for the body of outgoing messages. If _FILE_ is _-_ the message body will be read from standard input.
 
 *-i, --interval*=_SEC_::
   For protocols that send unsolicited data (as opposed to those that
-- 
cgit v1.2.3-70-g09d2

