aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-05-21 13:26:18 -0700
committerGarrett D'Amore <garrett@damore.org>2018-05-21 13:26:18 -0700
commit0671f3d49ef001c70d47d7398e47a23dbc3dd556 (patch)
tree24c36f2e62841015541ac29bcd5f8adb1fdbdd1f
parent198bdacae309bd306d71a735198518752381a191 (diff)
downloadnng-0671f3d49ef001c70d47d7398e47a23dbc3dd556.tar.gz
nng-0671f3d49ef001c70d47d7398e47a23dbc3dd556.tar.bz2
nng-0671f3d49ef001c70d47d7398e47a23dbc3dd556.zip
Markup changes to address problems in kindlegen conversion.
-rw-r--r--docs/man/nngcat.1.adoc44
1 files changed, 22 insertions, 22 deletions
diff --git a/docs/man/nngcat.1.adoc b/docs/man/nngcat.1.adoc
index 40971ff5..1dc831cd 100644
--- a/docs/man/nngcat.1.adoc
+++ b/docs/man/nngcat.1.adoc
@@ -186,28 +186,9 @@ more than one peer on a given connection.
=== Receive Options
-Data messages received can be formatted in different ways. These
-options can only be specified when using a protocol that receives messages.
-
-*--format*=_FORMAT_::
- Format data as indicated. The _FORMAT_ can be any of: +
- `no`:::
- No output at all.
- `raw`:::
- Raw output, every byte received is sent to standard output.
- `ascii`:::
- ((ASCII)) safe, printable ASCII is emitted verbatim, with other bytes
- substituted with `.` (period).
- `quoted`:::
- Messages are printed as ((quoted)) strings, using C language conventions.
- `hex`:::
- (((hex))) Messages are printed as quoted strings, with every byte appearing
- as an escaped hexadecimal value, such as `\x2E`.
- `msgpack`:::
- (((msgpack)))
- (((MessagePack)))
- Messages are emitted as https://msgpack.org[MessagePack] "bin format"
- (byte arrays).
+Data messages received can be formatted in different ways.
+These options can only be specified when using a protocol that
+receives messages.
*-A, --ascii*::
The same as specifying *--format*=`ascii`.
@@ -234,6 +215,25 @@ options can only be specified when using a protocol that receives messages.
The default is 1048576 (1 MB).
To eliminate any restriction, use 0.
+*--format*=_FORMAT_::
+ Format data as indicated. The _FORMAT_ can be any of:
+
+`no`::: No output at all.
+
+`raw`::: Raw output, every byte received is sent to standard output.
+
+`ascii`::: ((ASCII)) safe, printable ASCII is emitted verbatim, with other
+bytes substituted with `.` (period).
+
+`quoted`::: Messages are printed as ((quoted)) strings, using C language
+conventions.
+
+`hex`::: (((hex))) Messages are printed as quoted strings, with every byte appearing as an escaped hexadecimal value, such as `\x2E`.
+
+`msgpack`::: (((msgpack)))(((MessagePack)))
+Messages are emitted as https://msgpack.org[MessagePack] "bin format"
+(byte arrays).
+
=== Transmit Options
Protocols that support sending data can use these options to select the data.