summaryrefslogtreecommitdiff
path: root/cmd/ponzu/build.go
diff options
context:
space:
mode:
authorMartin Treusch von Buttlar <martin.tvb@vitraum.de>2017-05-16 06:40:54 +0200
committerMartin Treusch von Buttlar <martin.tvb@vitraum.de>2017-05-16 06:40:54 +0200
commitd89c33c1398428d4a456ca0252e6b1718efb0b96 (patch)
tree84b24ddb8ad8c651799bb4fdd04290d751b2b11d /cmd/ponzu/build.go
parent8181c4f325519055d7fec9982737b0a22f175534 (diff)
move usage examples to cobra field of same name
Diffstat (limited to 'cmd/ponzu/build.go')
-rw-r--r--cmd/ponzu/build.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/cmd/ponzu/build.go b/cmd/ponzu/build.go
index 3797e84..8760096 100644
--- a/cmd/ponzu/build.go
+++ b/cmd/ponzu/build.go
@@ -72,15 +72,13 @@ var buildCmd = &cobra.Command{
the necessary files from your workspace into the vendored directory, and
will build/compile the project to then be run.
-Example:
-$ ponzu build
-(or)
-$ ponzu -gocmd=go1.8rc1 build
-
By providing the 'gocmd' flag, you can specify which Go command to build the
project, if testing a different release of Go.
Errors will be reported, but successful build commands return nothing.`,
+ Example: `$ ponzu build
+(or)
+$ ponzu -gocmd=go1.8rc1 build`,
RunE: func(cmd *cobra.Command, args []string) error {
return buildPonzuServer()
},