diff --git a/cmd/dep_fixer/main.go b/cmd/dep_fixer/main.go index bac3772be..0647fb293 100644 --- a/cmd/dep_fixer/main.go +++ b/cmd/dep_fixer/main.go @@ -29,7 +29,7 @@ import ( func main() { flag.Usage = func() { - fmt.Fprintf(os.Stderr, "Usage: %s ") + fmt.Fprintf(os.Stderr, "Usage: %s ", os.Args[0]) flag.PrintDefaults() } output := flag.String("o", "", "Optional output file (defaults to rewriting source if necessary)") diff --git a/cmd/path_interposer/main_test.go b/cmd/path_interposer/main_test.go index 4b25c4468..c89d6231f 100644 --- a/cmd/path_interposer/main_test.go +++ b/cmd/path_interposer/main_test.go @@ -183,7 +183,7 @@ func TestMissingPath(t *testing.T) { interposer := setup(t) err := os.Remove(interposer + "_origpath") if err != nil { - t.Fatalf("Failed to remove:", err) + t.Fatal("Failed to remove:", err) } exitCode, err := Main(ioutil.Discard, ioutil.Discard, interposer, []string{"true"}, mainOpts{}) diff --git a/cmd/pom2bp/pom2bp.go b/cmd/pom2bp/pom2bp.go index 9aa25f078..9ce6b504b 100644 --- a/cmd/pom2bp/pom2bp.go +++ b/cmd/pom2bp/pom2bp.go @@ -524,7 +524,7 @@ Usage: %s [--rewrite =] [-exclude ] [--extra-deps