Skip to content

Commit

Permalink
Fix CLIProcessor
Browse files Browse the repository at this point in the history
  • Loading branch information
preet-dev committed Dec 26, 2022
1 parent 865cdaf commit fdb60e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public static void main(String[] args) throws ParseException {
throw new GeneratorException("One of metricDefinition, logDefinition or traceDefinition must be provided");
}
PayloadHandler payloadHandler = getPayloadHandler(line.getOptionValue("t"));
GeneratorInput.YAMLFilesBuilder inputBuilder = new GeneratorInput.YAMLFilesBuilder(line.getOptionValue("e"));
GeneratorInput.YAMLFilesBuilder inputBuilder = new GeneratorInput.YAMLFilesBuilder(line.getOptionValue("r"));
if (line.hasOption("m")) {
inputBuilder.withMetricDefinitionYAML(line.getOptionValue("m"));
}
Expand Down

0 comments on commit fdb60e1

Please sign in to comment.