diff --git a/cmd/dlv/main.go b/cmd/dlv/main.go index fb1d9fb268bab4774eaa74adb6548d1e9d4b7fd2..240be5b56c6b91c77c4b0bc1f0fbba9ba24cbe8f 100644 --- a/cmd/dlv/main.go +++ b/cmd/dlv/main.go @@ -214,7 +214,7 @@ starts and attaches to it, and enable you to immediately begin debugging your pr Run: func(cmd *cobra.Command, args []string) { pid, err := strconv.Atoi(args[0]) if err != nil { - fmt.Fprintf(os.Stderr, "Invalid pid: %d", args[0]) + fmt.Fprintf(os.Stderr, "Invalid pid: %s\n", args[0]) os.Exit(1) } os.Exit(execute(pid, nil))