mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
new: new net.show.meta boolean flag to enable or disable endpoints metainfo rendering
This commit is contained in:
parent
6f691245e0
commit
9f64372273
2 changed files with 15 additions and 4 deletions
|
@ -29,6 +29,10 @@ func NewDiscovery(s *session.Session) *Discovery {
|
|||
return d.Stop()
|
||||
}))
|
||||
|
||||
d.AddParam(session.NewBoolParameter("net.show.meta",
|
||||
"true",
|
||||
"If true, the net.show command will show all metadata collected about each endpoint."))
|
||||
|
||||
d.AddHandler(session.NewModuleHandler("net.show", "",
|
||||
"Show cache hosts list (default sorting by ip).",
|
||||
func(args []string) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue