aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshmel1k <shmel1k@ydb.tech>2022-11-18 15:21:42 +0300
committershmel1k <shmel1k@ydb.tech>2022-11-18 15:21:42 +0300
commited059832834200ce101534e8ace78ccc5be4f0c4 (patch)
tree91091f88a1d37f3eaa6fd188f3a1be6a3da4ae56
parentded42ea745c481774d4ffa30a44d31057b6ce03b (diff)
downloadydb-ed059832834200ce101534e8ace78ccc5be4f0c4.tar.gz
fix extra non-existing 'service-type'
-rw-r--r--ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp3
-rw-r--r--ydb/public/lib/ydb_cli/commands/ydb_service_topic.h1
2 files changed, 0 insertions, 4 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 38c61b3bf89..e5afcde37c2 100644
--- a/ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp
+++ b/ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp
@@ -376,9 +376,6 @@ namespace NYdb::NConsoleClient {
config.Opts->AddLongOption("consumer", "New consumer for topic")
.Required()
.StoreResult(&ConsumerName_);
- config.Opts->AddLongOption("service-type", "Service type of reader")
- .Optional()
- .StoreResult(&ServiceType_);
config.Opts->AddLongOption("starting-message-timestamp", "Unix timestamp starting from '1970-01-01 00:00:00' from which read is allowed")
.Optional()
.StoreResult(&StartingMessageTimestamp_);
diff --git a/ydb/public/lib/ydb_cli/commands/ydb_service_topic.h b/ydb/public/lib/ydb_cli/commands/ydb_service_topic.h
index fb8a40ae264..46c52fc76bd 100644
--- a/ydb/public/lib/ydb_cli/commands/ydb_service_topic.h
+++ b/ydb/public/lib/ydb_cli/commands/ydb_service_topic.h
@@ -93,7 +93,6 @@ namespace NYdb::NConsoleClient {
private:
TString ConsumerName_;
- TMaybe<TString> ServiceType_;
TMaybe<ui64> StartingMessageTimestamp_;
};