Skip to content

Commit

Permalink
pass delete log in to verify
Browse files Browse the repository at this point in the history
  • Loading branch information
kmulvey committed Sep 15, 2022
1 parent b85d0fd commit 4bfe297
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/verify/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ type pair struct {

func main() {
var alwaysDelete bool
var deleteFile string
flag.BoolVar(&alwaysDelete, "always-delete", false, "just take the larger one, always")
flag.StringVar(&deleteFile, "delete-file", "delete.log", "log file where duplicate pairs are stored, same file from -cache-file when running nsquared")
flag.Parse()

var file, err = os.Open("delete.log")
var file, err = os.Open(deleteFile)
if err != nil {
log.Fatal(err)
}
Expand Down

0 comments on commit 4bfe297

Please sign in to comment.