Skip to content

Commit 3b3a410

Browse files
committed
Fix test
1 parent 87f8d9b commit 3b3a410

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,8 @@ namespace NYdb::NConsoleClient {
792792
.StoreResult(&IdleTimeout_);
793793
config.Opts->AddLongOption("commit", "Commit messages after successful read")
794794
.Optional()
795-
.StoreTrue(&Commit_);
795+
.DefaultValue(false)
796+
.StoreResult(&Commit_);
796797
config.Opts->AddLongOption("limit", "Limit on message count to read, 0 - unlimited. "
797798
"If avobe 0, processing stops when either topic is empty, or the specified limit reached. "
798799
"Must be above 0 for pretty output format."

0 commit comments

Comments
 (0)