File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11/*
22
3- Package main is a simple CLI app to parse and display information about
3+ A simple CLI app to parse and display information about
44a StarCraft: Brood War replay passed as a CLI argument.
55
66*/
5050 mapResLoc = flag .Bool ("mapres" , false , "print map data resource locations (minerals and geysers); valid with 'map'" )
5151 cmds = flag .Bool ("cmds" , false , "print player commands" )
5252 computed = flag .Bool ("computed" , true , "print computed / derived data" )
53- mapDataHash = flag .String ("mapDataHash" , "" , "calculate and print the hash of map data section using the given algorithm;\n " + validMapDataHashes )
53+ mapDataHash = flag .String ("mapDataHash" , "" , "calculate and print the hash of map data section too using the given algorithm;\n " + validMapDataHashes )
5454 dumpMapData = flag .Bool ("dumpMapData" , false , "dump the raw map data (CHK) instead of JSON replay info\n use it with the 'outfile' flag" )
5555 outFile = flag .String ("outfile" , "" , "optional output file name" )
5656
@@ -138,7 +138,7 @@ func main() {
138138
139139 if mapDataHasher != nil {
140140 mapDataHasher .Write (r .MapData .Debug .Data )
141- custom ["mapDataHash " ] = hex .EncodeToString (mapDataHasher .Sum (nil ))
141+ custom ["MapDataHash " ] = hex .EncodeToString (mapDataHasher .Sum (nil ))
142142 }
143143
144144 // Zero values in replay the user do not wish to see:
You can’t perform that action at this time.
0 commit comments