mirror of
https://github.com/bettercap/bettercap
synced 2025-07-14 00:53:46 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
a5116d3533
commit
09c09e647b
3 changed files with 4 additions and 4 deletions
|
@ -48,13 +48,13 @@ func NewDiscovery(s *session.Session) *Discovery {
|
|||
}))
|
||||
|
||||
mod.AddHandler(session.NewModuleHandler("net.show ADDRESS1, ADDRESS2", `net.show (.+)`,
|
||||
"Show information about a specific list of addresses (by IP or MAC).",
|
||||
"Show information about a specific comma separated list of addresses (by IP or MAC).",
|
||||
func(args []string) error {
|
||||
return mod.Show(args[0])
|
||||
}))
|
||||
|
||||
mod.AddHandler(session.NewModuleHandler("net.show.meta ADDRESS1, ADDRESS2", `net\.show\.meta (.+)`,
|
||||
"Show meta information about a specific list of addresses (by IP or MAC).",
|
||||
"Show meta information about a specific comma separated list of addresses (by IP or MAC).",
|
||||
func(args []string) error {
|
||||
return mod.showMeta(args[0])
|
||||
}))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue