cmd/torrent-metainfo-pprint: Also print InfoHash
This commit is contained in:
parent
7044161faa
commit
1936054615
|
@ -37,6 +37,7 @@ func main() {
|
|||
"Name": info.Name,
|
||||
"NumPieces": info.NumPieces(),
|
||||
"PieceLength": info.PieceLength,
|
||||
"InfoHash": metainfo.Info.Hash.HexString(),
|
||||
}
|
||||
if flags.PieceHashes {
|
||||
d["PieceHashes"] = func() (ret []string) {
|
||||
|
|
Loading…
Reference in New Issue