diff options
| author | Alek5andr-Kotov <[email protected]> | 2024-10-23 12:58:37 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-10-23 12:58:37 +0300 |
| commit | e6a3afc293b017cb2f45e996ececa53f165bfac9 (patch) | |
| tree | e89d2ea0b3804a430ff0cb7c8967a4251a1925d7 | |
| parent | 717b9190454327ef958d34417a7980038be2e011 (diff) | |
Default value for option `--codec` (#10651)
| -rw-r--r-- | ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp b/ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp index 99c5d606501..e974dac187a 100644 --- a/ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp +++ b/ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp @@ -904,6 +904,7 @@ namespace { TString description = PrepareAllowedCodecsDescription("Client-side compression algorithm. When read, data will be uncompressed transparently with a codec used on write", allowedCodecs); config.Opts->AddLongOption("codec", description) .Optional() + .DefaultValue("RAW") .StoreResult(&CodecStr_); AllowedCodecs_ = allowedCodecs; } |
