@@ -18,10 +18,9 @@ void main() {
1818 'Usage: dart run benchmark_runner <command> [arguments] <path to directory|file>\n '
1919 '\n '
2020 'Global options:\n '
21- '-h, --help Print this usage information.\n '
22- '-v, --verbose Enable to show more info and error messages.\n '
23- '-c, --[no-]color Enables colorized reporting.\n '
24- ' (defaults to on)\n '
21+ '-h, --help Print this usage information.\n '
22+ '-v, --verbose Enable to show more info and error messages.\n '
23+ '-m, --isMonochrome Disables colorized reporting.\n '
2524 '\n '
2625 'Available commands:\n '
2726 ' export Exports benchmark scores. A custom file extension and directory may be specified.\n '
@@ -46,13 +45,13 @@ void main() {
4645 final usage = await process.stdout.rest.join ('\n ' );
4746
4847 expect (
49- usage,equals (
50- 'Runs benchmarks and prints a score report to stdout.\n '
51- '\n '
52- 'Usage: benchmark_runner report [arguments] <path to directory|file>\n '
53- '-h, --help Print this usage information.\n '
54- '\n '
55- 'Run "benchmark_runner help" to see global options.' ));
48+ usage,
49+ equals ( 'Runs benchmarks and prints a score report to stdout.\n '
50+ '\n '
51+ 'Usage: benchmark_runner report [arguments] <path to directory|file>\n '
52+ '-h, --help Print this usage information.\n '
53+ '\n '
54+ 'Run "benchmark_runner help" to see global options.' ));
5655
5756 // Assert that the process exits with code 0.
5857 await process.shouldExit (0 );
@@ -90,7 +89,7 @@ void main() {
9089 usage,
9190 'Exports benchmark scores. A custom file extension and directory may be specified.\n '
9291 '\n '
93- 'Usage: benchmark_runner export [arguments]\n '
92+ 'Usage: benchmark_runner export [arguments] <path to directory|file> \n '
9493 '-h, --help Print this usage information.\n '
9594 '-e, --extension Set file extension of exported files.\n '
9695 ' (defaults to "txt")\n '
0 commit comments