2
0
Эх сурвалжийг харах

update help messages for cli

Alexander Belanger 4 жил өмнө
parent
commit
3ca37fc26d
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      cli/cmd/deploy.go

+ 2 - 2
cli/cmd/deploy.go

@@ -29,7 +29,7 @@ local directory ~/path-to-dir with the tag "testing":
   %s
 
 If the application has a remote Git repository source configured, you can specify that the remote
-Git repository should be used to build the new image by specifying "--local false". Porter will use 
+Git repository should be used to build the new image by specifying "--source github". Porter will use 
 the latest commit from the remote repo and branch to update an application, and will use the latest 
 commit as the image tag.
 
@@ -51,7 +51,7 @@ specify it as follows:
 		color.New(color.FgBlue, color.Bold).Sprintf("Help for \"porter update\":"),
 		color.New(color.FgGreen, color.Bold).Sprintf("porter update --app example-app"),
 		color.New(color.FgGreen, color.Bold).Sprintf("porter update --app example-app --path ~/path-to-dir --tag testing"),
-		color.New(color.FgGreen, color.Bold).Sprintf("porter update --app remote-git-app --local false"),
+		color.New(color.FgGreen, color.Bold).Sprintf("porter update --app remote-git-app --source github"),
 		color.New(color.FgGreen, color.Bold).Sprintf("porter update --app example-app --values my-values.yaml"),
 		color.New(color.FgGreen, color.Bold).Sprintf("porter update --app example-app --method docker --dockerfile ./docker/prod.Dockerfile"),
 	),