mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-28 00:19:06 +00:00
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");
|
throw new Error("Specified -profile without indicating profile source");
|
||||||
} else {
|
} else {
|
||||||
p = args[++i];
|
p = args[++i];
|
||||||
cliContext.addProfile(args[i++]);
|
cliContext.addProfile(p);
|
||||||
}
|
}
|
||||||
if (p != null && i + 1 < args.length && args[i + 1].equals("@")) {
|
if (p != null && i + 1 < args.length && args[i + 1].equals("@")) {
|
||||||
i++;
|
i++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user