Fix help placeholders

This commit is contained in:
dotasek 2023-06-27 10:49:55 -04:00
parent ff44e50fc3
commit 50e8d990a8
1 changed files with 7 additions and 1 deletions

View File

@ -1,9 +1,11 @@
package org.hl7.fhir.validation.cli.tasks; package org.hl7.fhir.validation.cli.tasks;
import ca.uhn.fhir.context.FhirVersionEnum;
import org.hl7.fhir.r5.model.Constants; import org.hl7.fhir.r5.model.Constants;
import org.hl7.fhir.r5.model.ImplementationGuide; import org.hl7.fhir.r5.model.ImplementationGuide;
import org.hl7.fhir.r5.model.StructureDefinition; import org.hl7.fhir.r5.model.StructureDefinition;
import org.hl7.fhir.utilities.TimeTracker; import org.hl7.fhir.utilities.TimeTracker;
import org.hl7.fhir.utilities.VersionUtilities;
import org.hl7.fhir.validation.ValidationEngine; import org.hl7.fhir.validation.ValidationEngine;
import org.hl7.fhir.validation.cli.model.CliContext; import org.hl7.fhir.validation.cli.model.CliContext;
import org.hl7.fhir.validation.cli.services.ValidationService; import org.hl7.fhir.validation.cli.services.ValidationService;
@ -15,9 +17,13 @@ import java.io.PrintStream;
public class ValidateTask extends ValidationEngineTask { public class ValidateTask extends ValidationEngineTask {
final static String[][] PLACEHOLDERS = { final static String[][] PLACEHOLDERS = {
{ "XML_AND_JSON_FHIR_VERSIONS", "1.0, 1.4, 3.0, 4.0, " + Constants.VERSION_MM }, { "XML_AND_JSON_FHIR_VERSIONS", "1.0, 1.4, 3.0, 4.0, " + Constants.VERSION_MM + ", 6.0" },
{ "TURTLE_FHIR_VERSIONS", "3.0, 4.0, " + Constants.VERSION_MM }, { "TURTLE_FHIR_VERSIONS", "3.0, 4.0, " + Constants.VERSION_MM },
{ "FHIR_MAJOR_VERSIONS", "1.0, 1.4, 3.0, 4.0, " + Constants.VERSION_MM, "6.0"},
{ "FHIR_MINOR_VERSIONS", "1.0.2, 1.4.0, 3.0.2, 4.0.1, 4.1.0, 4.3.0, 5.0.0, 6.0.0" },
{ "FHIR_CURRENT_VERSION", Constants.VERSION_MM}
}; };
@Override @Override
public String getName() { public String getName() {
return "validate"; return "validate";