Skip to content

Commit

Permalink
Improve docs and texts
Browse files Browse the repository at this point in the history
  • Loading branch information
icza committed Feb 21, 2022
1 parent 3394c60 commit 131d267
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/screp/screp.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Package main is a simple CLI app to parse and display information about
A simple CLI app to parse and display information about
a StarCraft: Brood War replay passed as a CLI argument.
*/
Expand Down Expand Up @@ -50,7 +50,7 @@ var (
mapResLoc = flag.Bool("mapres", false, "print map data resource locations (minerals and geysers); valid with 'map'")
cmds = flag.Bool("cmds", false, "print player commands")
computed = flag.Bool("computed", true, "print computed / derived data")
mapDataHash = flag.String("mapDataHash", "", "calculate and print the hash of map data section using the given algorithm;\n"+validMapDataHashes)
mapDataHash = flag.String("mapDataHash", "", "calculate and print the hash of map data section too using the given algorithm;\n"+validMapDataHashes)
dumpMapData = flag.Bool("dumpMapData", false, "dump the raw map data (CHK) instead of JSON replay info\nuse it with the 'outfile' flag")
outFile = flag.String("outfile", "", "optional output file name")

Expand Down Expand Up @@ -138,7 +138,7 @@ func main() {

if mapDataHasher != nil {
mapDataHasher.Write(r.MapData.Debug.Data)
custom["mapDataHash"] = hex.EncodeToString(mapDataHasher.Sum(nil))
custom["MapDataHash"] = hex.EncodeToString(mapDataHasher.Sum(nil))
}

// Zero values in replay the user do not wish to see:
Expand Down

0 comments on commit 131d267

Please sign in to comment.