Add parameter to control progress report interval

This commit is contained in:
Leonetienne 2022-06-01 03:30:18 +02:00
parent e8d81af6f2
commit 08f6e7d907
No known key found for this signature in database
GPG Key ID: C33879CD92E9708C

View File

@ -68,7 +68,7 @@ void CommandlineInterface::Init(int argc, const char* const* argv) {
nupp.RegisterConstraint("--progress", ParamConstraint(true, DATA_TYPE::VOID, {}, false, {}));
nupp.RegisterAbbreviation("-p", "--progress");
nupp.RegisterDescription("--progress-interval", "Print digestion progress reports every these many blocks.");
nupp.RegisterDescription("--progress-interval", "Print digestion progress reports every these many data blocks.");
nupp.RegisterConstraint("--progress-interval", ParamConstraint(true, DATA_TYPE::INT, { "1000" }, true, {}));
nupp.RegisterDescription("--iobase-bytes", "Interpret and output ciphertexts as raw bytes.");