]> Sergey Matveev's repositories - btrtrc.git/blobdiff - cmd/torrent/announce.go
cmd/torrent: Restore the announce and bencode subcommands
[btrtrc.git] / cmd / torrent / announce.go
index 277f3bef52ff6feb6519c8672fbe8e1c9bbfb086..b40120f112dddc1e9ecb6453e44b6df445b4bb52 100644 (file)
@@ -10,8 +10,8 @@ import (
 )
 
 type AnnounceCmd struct {
-       Tracker  string `arg:"positional"`
-       InfoHash torrent.InfoHash
+       Tracker  string           `arg:"positional"`
+       InfoHash torrent.InfoHash `arg:"positional"`
 }
 
 func announceErr(flags AnnounceCmd) error {