1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-30 22:23:13 +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.");
return Status::Failure;
default:
std::fprintf(stderr, "Invalid argument: -%c\n", *options);
std::fprintf(stderr, "Invalid argument: %s\n", arg);
return Status::Failure;
}
if (!finished) {