summaryrefslogtreecommitdiff
path: root/cmd/ponzu/upgrade.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/upgrade.go
parent8181c4f325519055d7fec9982737b0a22f175534 (diff)
move usage examples to cobra field of same name
Diffstat (limited to 'cmd/ponzu/upgrade.go')
-rw-r--r--cmd/ponzu/upgrade.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/cmd/ponzu/upgrade.go b/cmd/ponzu/upgrade.go
index 252a4f8..2bcbc53 100644
--- a/cmd/ponzu/upgrade.go
+++ b/cmd/ponzu/upgrade.go
@@ -15,10 +15,8 @@ var upgradeCmd = &cobra.Command{
Short: "upgrades your project to the current ponzu version",
Long: `Will backup your own custom project code (like content, addons, uploads, etc) so
if necessary. Before running '$ ponzu upgrade', you should update the 'ponzu'
-package by running '$ go get -u github.com/ponzu-cms/ponzu/...'
-
-Example:
-$ ponzu upgrade`,
+package by running '$ go get -u github.com/ponzu-cms/ponzu/...'`,
+ Example: `$ ponzu upgrade`,
RunE: func(cmd *cobra.Command, args []string) error {
// confirm since upgrade will replace Ponzu core files
path, err := os.Getwd()