aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEvan Haas <evan@lagerdata.com>2020-04-11 20:46:14 -0700
committerGarrett D'Amore <garrett@damore.org>2020-05-25 22:36:08 -0700
commitbdbddbc805d1d0450476707f20ccbbde2ede8cf7 (patch)
tree9bf0528035840912a84b1b44d6838f8ba9505cd4 /docs
parent88c8eb81b3a1e4e5dfb0a7ead1d4a62467d07063 (diff)
downloadnng-bdbddbc805d1d0450476707f20ccbbde2ede8cf7.tar.gz
nng-bdbddbc805d1d0450476707f20ccbbde2ede8cf7.tar.bz2
nng-bdbddbc805d1d0450476707f20ccbbde2ede8cf7.zip
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
Diffstat (limited to 'docs')
-rw-r--r--docs/man/nngcat.1.adoc2
1 files changed, 1 insertions, 1 deletions
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