This commit is contained in:
Grahame Grieve 2020-04-09 10:56:49 +10:00
commit 4a895ccaa3
1 changed files with 4 additions and 2 deletions

View File

@ -169,9 +169,11 @@ public class Params {
throw new Error("Specified " + args[i] + " without indicating ig file");
else {
String s = args[++i];
cliContext.setSv(Common.getVersionFromIGName(null, s));
if (cliContext.getSv() == null) {
String version = Common.getVersionFromIGName(null, s);
if (version == null) {
cliContext.addIg(s);
} else {
cliContext.setSv(version);
}
}
} else if (args[i].equals(MAP)) {