aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/getopt/small/completion_generator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp/getopt/small/completion_generator.cpp')
-rw-r--r--library/cpp/getopt/small/completion_generator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/getopt/small/completion_generator.cpp b/library/cpp/getopt/small/completion_generator.cpp
index ac41988217..d893afb40a 100644
--- a/library/cpp/getopt/small/completion_generator.cpp
+++ b/library/cpp/getopt/small/completion_generator.cpp
@@ -24,13 +24,13 @@ namespace NLastGetopt {
TCompletionGenerator::TCompletionGenerator(const TModChooser* modChooser)
: Options_(modChooser)
{
- Y_VERIFY(modChooser != nullptr);
+ Y_ABORT_UNLESS(modChooser != nullptr);
}
TCompletionGenerator::TCompletionGenerator(const TOpts* opts)
: Options_(opts)
{
- Y_VERIFY(opts != nullptr);
+ Y_ABORT_UNLESS(opts != nullptr);
}
void TZshCompletionGenerator::Generate(TStringBuf command, IOutputStream& stream) {