Ver Fonte

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

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De loof há 2 anos atrás
pai
commit
0e375a8c61
2 ficheiros alterados com 2 adições e 1 exclusões
  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{
 		Short:            "Docker Compose",
+		Long:             "Define and run multi-container applications with Docker.",
 		Use:              PluginName,
 		TraverseChildren: true,
 		// 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
 
 <!---MARKER_GEN_START-->
-Docker Compose
+Define and run multi-container applications with Docker.
 
 ### Subcommands