Skip to content

Commit c08704f

Browse files
committed
address comments
1 parent 367030e commit c08704f

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

cli.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,16 @@ function getIntFlag(flags, flag) {
4646
return value;
4747
}
4848

49-
if ("--iteration-count" in cliFlags)
50-
globalThis.testIterationCount = getIntFlag(cliFlags, "--iteration-count");
51-
52-
if ("--worst-case-count" in cliFlags)
53-
globalThis.testWorstCaseCount = getIntFlag(cliFlags, "--worst-case-count");
49+
globalThis.testIterationCount = getIntFlag(cliFlags, "--iteration-count");
50+
globalThis.testWorstCaseCount = getIntFlag(cliFlags, "--worst-case-count");
5451

5552
if ("--dump-json-results" in cliFlags)
5653
globalThis.dumpJSONResults = true;
5754

5855
if (typeof runMode !== "undefined" && runMode == "RAMification")
5956
globalThis.RAMification = true;
57+
if ("--ramification" in cliFlags)
58+
globalThis.RAMification = true;
6059

6160
if (cliArgs.length)
6261
globalThis.testList = cliArgs;
@@ -81,7 +80,7 @@ if ("--help" in cliFlags) {
8180

8281
console.log("Options:");
8382
console.log(" --iteration-count: Set the default iteration count.");
84-
console.log(" ---worst-case-count: Set the default worst-case count");
83+
console.log(" --worst-case-count: Set the default worst-case count");
8584
console.log(" --dump-json-results: Print summary json to the console.");
8685
console.log("");
8786

0 commit comments

Comments
 (0)