Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions src/bin/exrmetrics/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ usageMessage (ostream& stream, const char* program_name, bool verbose = false)
" default is \"all\" \n"
"\n"
" -m set to multi-threaded (system selected thread count)\n"
" -t n use n threads for processing files\n"
" default is single / no threads\n"
" -t n Use a pool of n worker threads for processing files.\n"
" Default is single threaded (no thread pool)\n"
"\n"
" -l level set DWA or ZIP compression level\n"
"\n"
" -z,--compression list list of compression methods to test\n"
" ("
" ("
<< compressionNames.c_str ()
<< ",orig,all\n"
" default orig: retains original method)\n"
Expand Down Expand Up @@ -299,7 +299,7 @@ jsonStats (
<< run.metrics.totalStats.sizeData.tileCount << ",\n";
}

if (run.metrics.stats.size () > 0)
if (run.metrics.stats.size () > 1)
{
out << " \"parts\":\n";
out << " [\n";
Expand Down Expand Up @@ -482,6 +482,8 @@ main (int argc, char** argv)

if (opts.parse (argc, argv)) { return 1; }

if (opts.inFiles.size () == 0) { return 0; }

list<runData> data;
try
{
Expand Down