add -i flag to filter by single interface
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"flag"
|
||||
|
||||
"github.com/gopatchy/tendrils"
|
||||
)
|
||||
|
||||
func main() {
|
||||
t := tendrils.New()
|
||||
iface := flag.String("i", "", "interface to use (default: all interfaces)")
|
||||
flag.Parse()
|
||||
|
||||
t := tendrils.New(*iface)
|
||||
t.Run()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user