瀏覽代碼

restore long description to be included in `docker compose help` (#10504)

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De loof 2 年之前
父節點
當前提交
0e375a8c61
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      cmd/compose/compose.go
  2. 1 1
      docs/reference/compose.md

+ 1 - 0
cmd/compose/compose.go

@@ -263,6 +263,7 @@ func RootCommand(streams command.Cli, backend api.Service) *cobra.Command { //no
 	)
 	)
 	c := &cobra.Command{
 	c := &cobra.Command{
 		Short:            "Docker Compose",
 		Short:            "Docker Compose",
+		Long:             "Define and run multi-container applications with Docker.",
 		Use:              PluginName,
 		Use:              PluginName,
 		TraverseChildren: true,
 		TraverseChildren: true,
 		// By default (no Run/RunE in parent c) for typos in subcommands, cobra displays the help of parent c but exit(0) !
 		// By default (no Run/RunE in parent c) for typos in subcommands, cobra displays the help of parent c but exit(0) !

+ 1 - 1
docs/reference/compose.md

@@ -1,7 +1,7 @@
 # docker compose
 # docker compose
 
 
 <!---MARKER_GEN_START-->
 <!---MARKER_GEN_START-->
-Docker Compose
+Define and run multi-container applications with Docker.
 
 
 ### Subcommands
 ### Subcommands