1
0
mirror of https://github.com/facebook/zstd.git synced 2025-08-07 06:23:00 +03:00

[pzstd] Fix invalid argument message

This commit is contained in:
Nick Terrell
2016-09-21 16:04:44 -07:00
parent 1c209a4feb
commit f1073c1da7

View File

@@ -293,7 +293,7 @@ Options::Status Options::parse(int argc, const char **argv) {
notSupported("Zstd benchmarking options."); notSupported("Zstd benchmarking options.");
return Status::Failure; return Status::Failure;
default: default:
std::fprintf(stderr, "Invalid argument: -%c\n", *options); std::fprintf(stderr, "Invalid argument: %s\n", arg);
return Status::Failure; return Status::Failure;
} }
if (!finished) { if (!finished) {