Просмотр исходного кода

add help text for default value

Anukul Sangwan 4 лет назад
Родитель
Сommit
af181a341a
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      cli/cmd/create.go
  2. 1 1
      cli/cmd/deploy.go

+ 1 - 1
cli/cmd/create.go

@@ -93,7 +93,7 @@ func init() {
 		"path",
 		"p",
 		"",
-		"if local build, the path to the build directory",
+		"if local build, the path to the build directory (default: Dockerfile directory)",
 	)
 
 	createCmd.PersistentFlags().StringVar(

+ 1 - 1
cli/cmd/deploy.go

@@ -235,7 +235,7 @@ func init() {
 		"path",
 		"p",
 		"",
-		"If local build, the path to the build directory. If remote build, the relative path from the repository root to the build directory.",
+		"If local build, the path to the build directory. If remote build, the relative path from the repository root to the build directory. (default: Dockerfile directory)",
 	)
 
 	updateCmd.PersistentFlags().StringVarP(