Skip to content

Commit

Permalink
Make --image-name flag required
Browse files Browse the repository at this point in the history
  • Loading branch information
mikusaq committed Dec 4, 2024
1 parent a9941c5 commit 541602e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bap-builder/CmdArgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ func (cmd *CmdLineArgs) InitFlags() {
)
cmd.BuildPackageArgs.DockerImageName = cmd.buildPackageParser.String("", "image-name",
&argparse.Options{
Required: false,
Default: "",
Required: true,
Help: "Docker image name for which packages will be build.\n" +
"Only packages that contains image-name in the DockerMatrix will be built.\n" +
"Given packages will be build by toolchain represented by image-name",
Expand Down

0 comments on commit 541602e

Please sign in to comment.