From 9098c69b871ee23e4b36bda2d9c53fe1992c78d7 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 5 Dec 2013 10:20:22 -0500 Subject: [PATCH] Imporve output --- cmd/bin.go | 5 ++--- cmd/build.go | 3 +-- gopm.go | 4 ++-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/cmd/bin.go b/cmd/bin.go index 17a0a2f26..c79fd8772 100644 --- a/cmd/bin.go +++ b/cmd/bin.go @@ -209,7 +209,6 @@ func runBin(ctx *cli.Context) { log.Log("Changing work directory back to %s", wd) os.Chdir(wd) - log.Verbose = true - log.Success("SUCC", "bin", "Binary has been built into:") - log.Success("SUCC", "", "\t"+movePath) + log.Success("SUCC", "bin", "Command executed successfully!") + fmt.Println("Binary has been built into: " + movePath) } diff --git a/cmd/build.go b/cmd/build.go index 7ee73b873..f1a595e7a 100644 --- a/cmd/build.go +++ b/cmd/build.go @@ -78,6 +78,5 @@ func runBuild(ctx *cli.Context) { } } - log.Success("SUCC", "build", "Binary has been built into:") - log.Success("SUCC", "", "\t"+newCurPath) + log.Success("SUCC", "build", "Command executed successfully!") } diff --git a/gopm.go b/gopm.go index 1169e3b6a..93ed8ea9b 100644 --- a/gopm.go +++ b/gopm.go @@ -29,7 +29,7 @@ import ( // Test that go1.1 tag above is included in builds. main.go refers to this definition. const go11tag = true -const APP_VER = "0.5.7.1205.7" +const APP_VER = "0.5.7.1205" // //cmd.CmdSearch, // cmdClean, @@ -62,7 +62,7 @@ func main() { //cmd.CmdTest, } app.Flags = append(app.Flags, []cli.Flag{ - cli.BoolFlag{"noterm", "Disable color output"}, + cli.BoolFlag{"noterm", "disable color output"}, cli.BoolFlag{"verbose", "show process details"}, }...) app.Run(os.Args)