From bb610a59b4550cd77967101e3f2758f865246ba9 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 29 Mar 2022 10:31:56 +0200 Subject: [PATCH] cli: annotate "stack" command to be a swarm subcommand Signed-off-by: Sebastiaan van Stijn --- cli/command/stack/cmd.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/command/stack/cmd.go b/cli/command/stack/cmd.go index 4f59b99f4a..f5abd79146 100644 --- a/cli/command/stack/cmd.go +++ b/cli/command/stack/cmd.go @@ -17,6 +17,7 @@ func NewStackCommand(dockerCli command.Cli) *cobra.Command { RunE: command.ShowHelp(dockerCli.Err()), Annotations: map[string]string{ "version": "1.25", + "swarm": "", }, } defaultHelpFunc := cmd.HelpFunc()