Skip to content

Commit d6bafa9

Browse files
committed
Fix readme conflict
2 parents e576e84 + 7a8bd48 commit d6bafa9

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
11
# NetHex
22
A small rust utility for dumping data-layer network traffic
33

4+
```
5+
./net_hex --help
6+
NetHex 0.1.0
7+
Jack Newman
8+
A small utility for reading / writing directly to a network interface
9+
10+
USAGE:
11+
net_hex [FLAGS] [OPTIONS] <interface> [bytes]
12+
13+
FLAGS:
14+
-h, --help Prints help information
15+
-l, --list List network interfaces
16+
-V, --version Prints version information
17+
18+
OPTIONS:
19+
-c, --count <count> Number of packet to receive before exiting [default: -1]
20+
-t, --timeout <timeout> Timeout before exiting the program. Default no timeout
21+
22+
ARGS:
23+
<interface> The network interface to send/read from
24+
<bytes> A hex string of raw bytes to send to the interface e.g. 11EE22FF
25+
```

0 commit comments

Comments
 (0)