Skip to content

Commit

Permalink
docs: update the cli doc with cidr range source/destination ip filter
Browse files Browse the repository at this point in the history
Signed-off-by: slayer321 <sachin.maurya7666@gmail.com>
  • Loading branch information
slayer321 authored and gandro committed Jun 2, 2022
1 parent 088bdae commit 3d7ef5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/observe/flows.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,13 +294,13 @@ more.`,

filterFlags.Var(filterVar(
"from-ip", ofilter,
"Show all flows originating at the given IP address."))
"Show all flows originating at the given IP address. Each of the source IPs can be specified as an exact match (e.g. '1.1.1.1') or as a CIDR range (e.g.'1.1.1.0/24')."))
filterFlags.Var(filterVar(
"ip", ofilter,
"Show all flows related to the given IP address."))
"Show all flows related to the given IP address. Each of the IPs can be specified as an exact match (e.g. '1.1.1.1') or as a CIDR range (e.g.'1.1.1.0/24')."))
filterFlags.Var(filterVar(
"to-ip", ofilter,
"Show all flows terminating at the given IP address."))
"Show all flows terminating at the given IP address. Each of the destination IPs can be specified as an exact match (e.g. '1.1.1.1') or as a CIDR range (e.g.'1.1.1.0/24')."))

filterFlags.VarP(filterVarP(
"ipv4", "4", ofilter, nil,
Expand Down

0 comments on commit 3d7ef5d

Please sign in to comment.