Skip to content

Commit 048ef1f

Browse files
committed
fix: buildx b alias
the shorthand "b" alias was accidentally removed in 19d838a Signed-off-by: David Karlsson <[email protected]>
1 parent 4be2259 commit 048ef1f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

commands/build.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -528,9 +528,10 @@ func buildCmd(dockerCli command.Cli, rootOpts *rootOptions, debugConfig *debug.D
528528
options := &buildOptions{}
529529

530530
cmd := &cobra.Command{
531-
Use: "build [OPTIONS] PATH | URL | -",
532-
Short: "Start a build",
533-
Args: cli.ExactArgs(1),
531+
Use: "build [OPTIONS] PATH | URL | -",
532+
Short: "Start a build",
533+
Args: cli.ExactArgs(1),
534+
Aliases: []string{"b"},
534535
Annotations: map[string]string{
535536
"aliases": "docker build, docker builder build, docker image build, docker buildx b",
536537
},

0 commit comments

Comments
 (0)