Docs: Update markup in the text2pcap man page.

Add an EditorConfig entry as well.
This commit is contained in:
Gerald Combs 2022-01-25 09:51:24 -08:00
parent ab4d858398
commit c49f63b5f5
2 changed files with 19 additions and 31 deletions

View File

@ -51,6 +51,11 @@ indent_size = 2
indent_style = space
indent_size = 2
# Asciidoc
[*.adoc]
indent_style = space
indent_size = 4
# GraphViz. The examples at https://gitlab.com/graphviz/graphviz/-/blob/master/graphs
# seem to be all over the place, so just go with 4 spaces for now.
[*.gv]

View File

@ -233,10 +233,7 @@ available output formats. The default is the *pcap* format.
--
-h::
+
--
Displays a help message.
--
-i <proto>::
+
@ -276,17 +273,10 @@ TCP packets.
--
-n::
+
--
Write the file in pcapng format rather than pcap format.
--
-N <intf-name>::
+
--
Specify a name for the interface included when writing a pcapng format
file.
--
Specify a name for the interface included when writing a pcapng format file.
-o hex|oct|dec|none::
+
@ -312,11 +302,7 @@ link layer type (252) is selected the dissector defaults to "data".
--
-q::
+
--
Don't display the summary of the options selected at the beginning,
or the count of packets processed at the end.
--
Don't display the summary of the options selected at the beginning, or the count of packets processed at the end.
-r <regex>::
+
@ -389,10 +375,7 @@ Example: __-u1000,69__ to make the packets look like TFTP/UDP packets.
--
-v::
+
--
Print the version and exit.
--
-4 <srcip>,<destip>::
+