forked from LaconicNetwork/kompose
wrong global --bundle/--dab input #198
This commit is contained in:
parent
b97760a537
commit
d3142c7435
@ -71,7 +71,7 @@ func validateFlags(c *cli.Context, opt *kobject.ConvertOptions) {
|
||||
opt.InputFile = dabFile
|
||||
}
|
||||
|
||||
if len(dabFile) > 0 && len(opt.InputFile) > 0 && opt.InputFile != DefaultComposeFile {
|
||||
if len(dabFile) > 0 && c.GlobalIsSet("file") {
|
||||
logrus.Fatalf("Error: 'compose' file and 'dab' file cannot be specified at the same time")
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user