Skip to content

Commit e6a3afc

Browse files
Default value for option --codec (#10651)
1 parent 717b919 commit e6a3afc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,7 @@ namespace {
904904
TString description = PrepareAllowedCodecsDescription("Client-side compression algorithm. When read, data will be uncompressed transparently with a codec used on write", allowedCodecs);
905905
config.Opts->AddLongOption("codec", description)
906906
.Optional()
907+
.DefaultValue("RAW")
907908
.StoreResult(&CodecStr_);
908909
AllowedCodecs_ = allowedCodecs;
909910
}

0 commit comments

Comments
 (0)