fix bug parsing -profile parameter

This commit is contained in:
Grahame Grieve 2020-06-18 08:46:57 +10:00
parent 6a6f6e6167
commit e8c6a9112f
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ public class Params {
throw new Error("Specified -profile without indicating profile source");
} else {
p = args[++i];
cliContext.addProfile(args[i++]);
cliContext.addProfile(p);
}
if (p != null && i + 1 < args.length && args[i + 1].equals("@")) {
i++;