use one-line messages where reasonable

This commit is contained in:
Jonathan Shook 2021-04-21 18:24:50 -05:00
parent 7a8c9d58e0
commit fca986e15a

View File

@ -108,9 +108,8 @@ public class NBCLIScenarioParser {
if (namedSteps == null) {
throw new BasicError("Unable to find named scenario '" + scenarioName + "' in workload '" + workloadName
+ "', but you can pick from the following:\n" +
scenarios.getScenarioNames().stream()
.map(s -> "- " + s).collect(Collectors.joining("\n")));
+ "', but you can pick from one of: " +
scenarios.getScenarioNames().stream().collect(Collectors.joining(", ")));
}
// each named command line step of the named scenario