diff --git a/commands/prune.go b/commands/prune.go index f5a3f2a1..cbdeae1f 100644 --- a/commands/prune.go +++ b/commands/prune.go @@ -129,7 +129,7 @@ func pruneCmd(dockerCli command.Cli, rootOpts *rootOptions) *cobra.Command { cmd := &cobra.Command{ Use: "prune", - Short: "Remove build cache ", + Short: "Remove build cache", Args: cli.NoArgs, RunE: func(cmd *cobra.Command, args []string) error { options.builder = rootOpts.builder diff --git a/commands/version.go b/commands/version.go index 5310b992..d0e8f395 100644 --- a/commands/version.go +++ b/commands/version.go @@ -17,7 +17,7 @@ func runVersion(dockerCli command.Cli) error { func versionCmd(dockerCli command.Cli) *cobra.Command { cmd := &cobra.Command{ Use: "version", - Short: "Show buildx version information ", + Short: "Show buildx version information", Args: cli.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) error { return runVersion(dockerCli) diff --git a/docs/reference/buildx.md b/docs/reference/buildx.md index 842f2538..7d006db0 100644 --- a/docs/reference/buildx.md +++ b/docs/reference/buildx.md @@ -19,12 +19,12 @@ Build with BuildKit | [`inspect`](buildx_inspect.md) | Inspect current builder instance | | [`install`](buildx_install.md) | Install buildx as a 'docker builder' alias | | [`ls`](buildx_ls.md) | List builder instances | -| [`prune`](buildx_prune.md) | Remove build cache | +| [`prune`](buildx_prune.md) | Remove build cache | | [`rm`](buildx_rm.md) | Remove a builder instance | | [`stop`](buildx_stop.md) | Stop builder instance | | [`uninstall`](buildx_uninstall.md) | Uninstall the 'docker builder' alias | | [`use`](buildx_use.md) | Set the current builder instance | -| [`version`](buildx_version.md) | Show buildx version information | +| [`version`](buildx_version.md) | Show buildx version information | diff --git a/docs/reference/buildx_prune.md b/docs/reference/buildx_prune.md index 4ea3054c..73bff44e 100644 --- a/docs/reference/buildx_prune.md +++ b/docs/reference/buildx_prune.md @@ -5,7 +5,7 @@ docker buildx prune ``` -Remove build cache +Remove build cache ### Options diff --git a/docs/reference/buildx_version.md b/docs/reference/buildx_version.md index 4493c9ff..ba756282 100644 --- a/docs/reference/buildx_version.md +++ b/docs/reference/buildx_version.md @@ -5,7 +5,7 @@ docker buildx version ``` -Show buildx version information +Show buildx version information