Skip to content

Commit 131d267

Browse files
committed
Improve docs and texts
1 parent 3394c60 commit 131d267

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/screp/screp.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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
44
a StarCraft: Brood War replay passed as a CLI argument.
55
66
*/
@@ -50,7 +50,7 @@ var (
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\nuse 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:

0 commit comments

Comments
 (0)