diff options
| author | Evan Haas <evan@lagerdata.com> | 2020-04-11 20:46:14 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2020-05-25 22:36:08 -0700 |
| commit | bdbddbc805d1d0450476707f20ccbbde2ede8cf7 (patch) | |
| tree | 9bf0528035840912a84b1b44d6838f8ba9505cd4 /tools/nngcat/CMakeLists.txt | |
| parent | 88c8eb81b3a1e4e5dfb0a7ead1d4a62467d07063 (diff) | |
| download | nng-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 'tools/nngcat/CMakeLists.txt')
| -rw-r--r-- | tools/nngcat/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/nngcat/CMakeLists.txt b/tools/nngcat/CMakeLists.txt index 6edf3bda..bcfc575b 100644 --- a/tools/nngcat/CMakeLists.txt +++ b/tools/nngcat/CMakeLists.txt @@ -29,5 +29,6 @@ if (NNG_ENABLE_NNGCAT) add_nngcat_test (nngcat_pubsub 20) add_nngcat_test (nngcat_recvmaxsz 20) add_nngcat_test (nngcat_unlimited 20) + add_nngcat_test (nngcat_stdin_pipe 20) endif() endif() |
