aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/getopt/small/completion_generator.cpp
diff options
context:
space:
mode:
authortldr <tldr@yandex-team.ru>2022-02-10 16:50:18 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:18 +0300
commitfb217752f4b5a81abe9df05e38c5a71d080fc2a8 (patch)
treeb61080bac892e4d99c55a947c93ddee756202193 /library/cpp/getopt/small/completion_generator.cpp
parentc3356aebb686e7128a19f75ef61d57388131f12f (diff)
downloadydb-fb217752f4b5a81abe9df05e38c5a71d080fc2a8.tar.gz
Restoring authorship annotation for <tldr@yandex-team.ru>. Commit 1 of 2.
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..3e8a5302b4 100644
--- a/library/cpp/getopt/small/completion_generator.cpp
+++ b/library/cpp/getopt/small/completion_generator.cpp
@@ -453,7 +453,7 @@ namespace NLastGetopt {
auto& line = L << "COMPREPLY+=( $(compgen -W '";
TStringBuf sep = "";
for (auto& mode : modes) {
- if (!mode->Hidden && !mode->NoCompletion) {
+ if (!mode->Hidden && !mode->NoCompletion) {
line << sep << B(mode->Name);
sep = " ";
}
@@ -470,7 +470,7 @@ namespace NLastGetopt {
I;
for (auto& mode : modes) {
- if (mode->Name.empty() || mode->Hidden || mode->NoCompletion) {
+ if (mode->Name.empty() || mode->Hidden || mode->NoCompletion) {
continue;
}