diff --git a/go.mod b/go.mod index 5539eec..f15f5ee 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module scrub-pii +module scrub go 1.19 diff --git a/main.go b/main.go index bd1905e..5258af5 100644 --- a/main.go +++ b/main.go @@ -21,12 +21,12 @@ func main() { prettyPtr := flag.Bool("pretty", true, "display pretty output; otherwise do: -pretty=false") flag.Parse() if len(os.Args) < 2 { - fmt.Println("Usage: scrub-pii ") + fmt.Println("Usage: scrub ") os.Exit(1) } - inputPath := flag.Args()[0] - sensitiveFieldsPath := flag.Args()[1] + sensitiveFieldsPath := flag.Args()[0] + inputPath := flag.Args()[1] // scrub the input file for the given sensitive fields output, err := ScrubPersonalInfo(inputPath, sensitiveFieldsPath) diff --git a/scrub-pii b/scrub similarity index 75% rename from scrub-pii rename to scrub index a9cf129..237f422 100755 Binary files a/scrub-pii and b/scrub differ