]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Add the --disable-tcp flag to the client options
authorMatt Joiner <anacrolix@gmail.com>
Mon, 20 Apr 2015 07:35:21 +0000 (17:35 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 20 Apr 2015 07:35:21 +0000 (17:35 +1000)
config.go

index 8a591158993ffc8b2aba9a3f2a9d1e65b557d88d..56081998900b273dc867dd2e22e56ffedac23417 100644 (file)
--- a/config.go
+++ b/config.go
@@ -27,7 +27,7 @@ type Config struct {
        // For the bittorrent protocol.
        DisableUTP bool
        // For the bittorrent protocol.
-       DisableTCP bool
+       DisableTCP bool `long:"disable-tcp"`
        // Don't automatically load "$ConfigDir/blocklist".
        NoDefaultBlocklist bool
        // Defaults to "$HOME/.config/torrent". This is where "blocklist",