Skip to content

Commit 34b841c

Browse files
committed
add -x as noop flag
1 parent 1489dbf commit 34b841c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

netstat-nat.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ var sourceHost = flag.StringP("source", "s", "", "Filter by source IP")
6666
var destinationHost = flag.StringP("destination", "d", "", "Filter by destination IP")
6767
var displayVersion = flag.BoolP("version", "v", false, "Print version")
6868
var sortBy = flag.StringP("sort", "r", "src", "Sort connections (src | dst | src-port | dst-port | state)")
69+
var _ = flag.BoolP("extended-hostnames", "x", false, "This flag serves no purpose other than compatibility")
6970

7071
func main() {
7172
flag.Parse()

0 commit comments

Comments
 (0)