This commit is contained in:
Derek Parker 2015-07-11 09:34:08 -05:00
parent 39dc49cd82
commit 1b55fa8325

@ -50,7 +50,7 @@ func main() {
Use: "run", Use: "run",
Short: "Compile and begin debugging program.", Short: "Compile and begin debugging program.",
Long: `Compiles your program with optimizations disabled, Long: `Compiles your program with optimizations disabled,
starts and attaches to it, and enable you to immediately begin debugging your program.`, starts and attaches to it, and enables you to immediately begin debugging your program.`,
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
const debugname = "debug" const debugname = "debug"
goBuild := exec.Command("go", "build", "-o", debugname, "-gcflags", "-N -l") goBuild := exec.Command("go", "build", "-o", debugname, "-gcflags", "-N -l")