check-marks: fix comments and help message

This commit is contained in:
Azat Khuzhin 2020-12-29 22:37:27 +03:00
parent cf11e2b1e0
commit 8c256481c9

View File

@ -13,7 +13,7 @@
#include <Compression/CompressedReadBufferFromFile.h> #include <Compression/CompressedReadBufferFromFile.h>
/** This program checks correctness of .mrk (marks) file for corresponding compressed .bin file. /** This program checks correctness of .mrk/.mrk2 (marks) file for corresponding compressed .bin file.
*/ */
static void checkByCompressedReadBuffer(const std::string & mrk_path, const std::string & bin_path) static void checkByCompressedReadBuffer(const std::string & mrk_path, const std::string & bin_path)
@ -62,7 +62,7 @@ int main(int argc, char ** argv)
if (options.count("help") || argc != 3) if (options.count("help") || argc != 3)
{ {
std::cout << "Usage: " << argv[0] << " file.mrk file.bin" << std::endl; std::cout << "Usage: " << argv[0] << " file.mrk[2] file.bin" << std::endl;
std::cout << desc << std::endl; std::cout << desc << std::endl;
return 1; return 1;
} }