From ca240e465986b01100f7667ea60bb907ce16d2b9 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Tue, 3 Mar 2020 08:37:36 +1100 Subject: [PATCH] fix for $145 -proxy Flag treated as File to validate --- .../src/main/java/org/hl7/fhir/validation/Validator.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/Validator.java b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/Validator.java index 3b0913127..9cd53ac34 100644 --- a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/Validator.java +++ b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/Validator.java @@ -423,6 +423,8 @@ public class Validator { throw new Error("Specified -output without indicating output file"); else output = args[++i]; + } else if (args[i].equals("-proxy")) { + i++; // ignore next parameter } else if (args[i].equals("-profile")) { String p = null; if (i+1 == args.length)