fix bug parsing -profile parameter
This commit is contained in:
parent
6a6f6e6167
commit
e8c6a9112f
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue