-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: update the cli doc with cidr range source/destination ip filter #731
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution. Some feedback on the spelling, other than that looks good to me!
Great! Could you please squash the two commits together into one? Thanks! |
6a5ee85
to
5a25671
Compare
cmd/observe/flows.go
Outdated
@@ -293,13 +293,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.")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, forgot that last time around: Could also add the sentence here, since it also applies to this? e.g. 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').
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @slayer321!
Signed-off-by: slayer321 <sachin.maurya7666@gmail.com>
efff3e8
to
1c02678
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, thank you! 🚀
update the cli docs for source/destination IP filter
Fixes: #458
Signed-off-by: slayer321 sachin.maurya7666@gmail.com