Skip to content

Commit 9d598bc

Browse files
committed
Add packet option help for udp
1 parent e176653 commit 9d598bc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ noping <ip> [OPTIONS]
4545
| `-m, --minimal` | Minimal output mode. |
4646
| `-v, --version` | Print detailed version information.
4747
| `--proto <tcp/udp>` | Protocol to use when a port is specified (default: TCP) |
48+
| `-pa, --packet <packet>` | Packet to send to UDP target (default: tries to find a valid packet based on port) |
4849
| `--update [version]` | Update noping to the specified version (when empty, it updates to the latest version).
4950

5051
## Examples

helpMenu.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ func printHelpMenu() {
1717
fmt.Println(" -t, --timeout <timeout> timeout in milliseconds (default: 1000) [OPTIONAL]")
1818
fmt.Println(" -m, --minimal print only the minimum information (default: false) [OPTIONAL]")
1919
fmt.Println(" -v, --version print detailed version information")
20+
fmt.Println(" -pa, --packet <packet> packet to send to UDP target (default: tries to find a valid packet based on port)")
2021
fmt.Println(" --proto <protocol (tcp/udp)> protocol to use (default: tcp) [OPTIONAL]")
2122
fmt.Println(" --update [version] update noping to the specified version (when empty, it updates to the latest version)")
2223
fmt.Println("")

0 commit comments

Comments
 (0)