cmd/torrent-metainfo-pprint: Add Announce and AnnounceList keys
This commit is contained in:
parent
c5e0c806ea
commit
abbbb6e115
|
@ -41,6 +41,8 @@ func main() {
|
|||
"InfoHash": metainfo.Info.Hash().HexString(),
|
||||
"NumFiles": len(info.UpvertedFiles()),
|
||||
"TotalLength": info.TotalLength(),
|
||||
"Announce": metainfo.Announce,
|
||||
"AnnounceList": metainfo.AnnounceList,
|
||||
}
|
||||
if flags.Files {
|
||||
d["Files"] = info.Files
|
||||
|
|
Loading…
Reference in New Issue