When running with --test, you must request output to CSV files or
specific types of output to --show-X; make the error message
clarify what the tool wants.
Fixes: #3827
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
}
if (test && !display && !write_to_file) {
- cerr << "WARNING: no output selected (via -o <filename>)" << std::endl;
+ cerr << "WARNING: no output selected; use --output-csv or --show-X" << std::endl;
exit(EXIT_FAILURE);
}