From 0e375a8c61082ff211195011f44b0dcd6ebeb950 Mon Sep 17 00:00:00 2001 From: Nicolas De loof Date: Thu, 11 May 2023 18:33:45 +0200 Subject: [PATCH] restore long description to be included in `docker compose help` (#10504) Signed-off-by: Nicolas De Loof --- cmd/compose/compose.go | 1 + docs/reference/compose.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/compose/compose.go b/cmd/compose/compose.go index 5f16f7916..4ad90b418 100644 --- a/cmd/compose/compose.go +++ b/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) ! diff --git a/docs/reference/compose.md b/docs/reference/compose.md index 94cee4e02..6f48a6df9 100644 --- a/docs/reference/compose.md +++ b/docs/reference/compose.md @@ -1,7 +1,7 @@ # docker compose -Docker Compose +Define and run multi-container applications with Docker. ### Subcommands