diff --git a/cmd/torrent/main.go b/cmd/torrent/main.go index 626ee094..358ef9ed 100644 --- a/cmd/torrent/main.go +++ b/cmd/torrent/main.go @@ -124,6 +124,9 @@ func main() { if flags.Addr != nil { clientConfig.ListenAddr = flags.Addr.String() } + if flags.Seed { + clientConfig.Seed = true + } client, err := torrent.NewClient(&clientConfig) if err != nil {