Skip to content

Commit

Permalink
Merge pull request #113 from BambooHR/BK/speed/updateNewFileOutputOpt…
Browse files Browse the repository at this point in the history
…ionNames

Update File Output Option Names
  • Loading branch information
bknutson123 authored May 7, 2024
2 parents 9aa95d1 + c7c6023 commit fded0c9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,9 @@ where: -p #/# = Define the number of partitions an

-o output_file_name = Output results in junit format to the specified filename

-mo metric_output_file_name = Output results to the specified filename
--metric-output = Output results to the specified filename

-so symbol_table_output_file_name = Output results to the specified filename
--symbol-table-output = Output results to the specified filename

-v = Increase verbosity level. Can be used once or twice.

Expand Down
4 changes: 2 additions & 2 deletions src/CommandLineRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ public function usage() {
-o output_file_name = Output results to the specified filename
-mo metric_output_file_name = Output results to the specified filename
--metric-output = Output results to the specified filename
-so symbol_table_output_file_name = Output results to the specified filename
--symbol-table-output = Output results to the specified filename
-v = Increase verbosity level. Can be used once or twice.
Expand Down
4 changes: 2 additions & 2 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -359,13 +359,13 @@ private function parseArgv(array $argv) {
}
$this->outputFile = $argv[++$argCount];
break;
case '-mo':
case '--metric-output':
if ($argCount + 1 >= count($argv)) {
throw new InvalidConfigException;
}
$this->metricOutputFile = $argv[++$argCount];
break;
case '-so':
case '--symbol-table-output':
if ($argCount + 1 >= count($argv)) {
throw new InvalidConfigException;
}
Expand Down

0 comments on commit fded0c9

Please sign in to comment.