forked from LaconicNetwork/kompose
Merge pull request #221 from cab105/master
wrong global --bundle/--dab input #198
This commit is contained in:
commit
3e81215c98
@ -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