aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2025-01-19 23:16:20 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2025-01-19 23:31:10 +0300
commitc993a8076ebfaebb02de8864e292ab95a2fc9c53 (patch)
tree5192331a540c08c863b81fc326ed5a2ae1ea64fa
parent02877bfb2eed135564651ea971c8c26f6b173266 (diff)
downloadydb-c993a8076ebfaebb02de8864e292ab95a2fc9c53.tar.gz
Intermediate changes
commit_hash:de4738004af8e373e733f0be227ea6e8c49e7fcf
-rw-r--r--yt/yt/library/program/program.cpp8
-rw-r--r--yt/yt/library/program/program_config_mixin.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/yt/yt/library/program/program.cpp b/yt/yt/library/program/program.cpp
index 5d0c9795ef..2dc58dc175 100644
--- a/yt/yt/library/program/program.cpp
+++ b/yt/yt/library/program/program.cpp
@@ -83,16 +83,16 @@ private:
TProgram::TProgram()
{
Opts_.AddHelpOption();
- Opts_.AddLongOption("yt-version", "print YT version and exit")
+ Opts_.AddLongOption("yt-version", "Prints YT version")
.NoArgument()
.StoreValue(&PrintYTVersion_, true);
- Opts_.AddLongOption("version", "print version and exit")
+ Opts_.AddLongOption("version", "Print version")
.NoArgument()
.StoreValue(&PrintVersion_, true);
- Opts_.AddLongOption("yson", "print build information in YSON")
+ Opts_.AddLongOption("yson", "Prints build information in YSON")
.NoArgument()
.StoreValue(&UseYson_, true);
- Opts_.AddLongOption("build", "print build information and exit")
+ Opts_.AddLongOption("build", "Prints build information")
.NoArgument()
.StoreValue(&PrintBuild_, true);
Opts_.SetFreeArgsNum(0);
diff --git a/yt/yt/library/program/program_config_mixin.h b/yt/yt/library/program/program_config_mixin.h
index d2ea0a0363..1b86209c2e 100644
--- a/yt/yt/library/program/program_config_mixin.h
+++ b/yt/yt/library/program/program_config_mixin.h
@@ -42,26 +42,26 @@ protected:
opts
.AddLongOption(
Format("%v-schema", argumentName),
- Format("Prints %v schema and exit", argumentName))
+ Format("Prints %v schema", argumentName))
.OptionalValue(YsonSchemaFormat_, "FORMAT")
.Handler0([&] { ConfigSchemaFlag_ = true; })
.StoreResult(&ConfigSchema_);
opts
.AddLongOption(
Format("%v-template", argumentName),
- Format("Prints %v template and exit", argumentName))
+ Format("Prints %v template", argumentName))
.OptionalArgument()
.SetFlag(&ConfigTemplateFlag_);
opts
.AddLongOption(
Format("%v-actual", argumentName),
- Format("Prints actual %v and exit", argumentName))
+ Format("Prints actual %v", argumentName))
.OptionalArgument()
.SetFlag(&ConfigActualFlag_);
opts
.AddLongOption(
Format("%v-unrecognized", argumentName),
- Format("Prints unrecognized %v and exit", argumentName))
+ Format("Prints unrecognized %v", argumentName))
.OptionalArgument()
.SetFlag(&ConfigUnrecognizedFlag_);