mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
Make listings similar to command syntax (#2081)
* Make listings similar to command syntax * OF - alignment
This commit is contained in:
parent
071ddbf9c2
commit
02791ec8aa
@ -44,8 +44,8 @@ public class NBCLIScenarios {
|
||||
|
||||
System.out.println(
|
||||
"## To include examples, add --include=examples\n" +
|
||||
"## To copy any of these to your local directory, use\n" +
|
||||
"## --include=examples --copy=examplename\n"
|
||||
"## To copy any of these to your local directory, use\n" +
|
||||
"## --include=examples --copy=examplename\n"
|
||||
);
|
||||
|
||||
}
|
||||
|
@ -91,21 +91,18 @@ public class WorkloadDesc implements Comparable<WorkloadDesc> {
|
||||
}
|
||||
|
||||
if (includeScenarios) {
|
||||
sb.append("# workload found in ");
|
||||
sb.append("# ");
|
||||
}
|
||||
sb.append(getYamlPath()).append("\n");
|
||||
sb.append("workload=").append(getYamlPath().substring(1)).append("\n");
|
||||
|
||||
|
||||
if (includeScenarios) {
|
||||
sb.append(" # scenarios:\n");
|
||||
|
||||
for (String scenario : getScenarioNames()) {
|
||||
sb.append(" nb ")
|
||||
.append(this.getWorkloadName())
|
||||
.append(" ").append(scenario).append("\n");
|
||||
sb.append(" ").append(scenario).append("\n");
|
||||
}
|
||||
|
||||
|
||||
if (templates.size() > 0) {
|
||||
sb.append(" # defaults\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user