diff --git a/cli/command/builder/cmd.go b/cli/command/builder/cmd.go index 288322afa3..b5f4d0d9eb 100644 --- a/cli/command/builder/cmd.go +++ b/cli/command/builder/cmd.go @@ -10,10 +10,11 @@ import ( // NewBuilderCommand returns a cobra command for `builder` subcommands func NewBuilderCommand(dockerCli command.Cli) *cobra.Command { cmd := &cobra.Command{ - Use: "builder", - Short: "Manage builds", - Args: cli.NoArgs, - RunE: command.ShowHelp(dockerCli.Err()), + Use: "builder", + Short: "Manage builds", + Args: cli.NoArgs, + RunE: command.ShowHelp(dockerCli.Err()), + Annotations: map[string]string{"version": "1.31"}, } cmd.AddCommand( NewPruneCommand(dockerCli), diff --git a/cli/command/network/cmd.go b/cli/command/network/cmd.go index 48edf1c4e3..028e1377f0 100644 --- a/cli/command/network/cmd.go +++ b/cli/command/network/cmd.go @@ -10,10 +10,11 @@ import ( // NewNetworkCommand returns a cobra command for `network` subcommands func NewNetworkCommand(dockerCli command.Cli) *cobra.Command { cmd := &cobra.Command{ - Use: "network", - Short: "Manage networks", - Args: cli.NoArgs, - RunE: command.ShowHelp(dockerCli.Err()), + Use: "network", + Short: "Manage networks", + Args: cli.NoArgs, + RunE: command.ShowHelp(dockerCli.Err()), + Annotations: map[string]string{"version": "1.21"}, } cmd.AddCommand( newConnectCommand(dockerCli),