diff options
author | tldr <tldr@yandex-team.ru> | 2022-02-10 16:50:18 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:18 +0300 |
commit | 42d219fbd63ee173b0cb7db1b26a3ec615f0bb71 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/getopt/small/completion_generator.cpp | |
parent | fb217752f4b5a81abe9df05e38c5a71d080fc2a8 (diff) | |
download | ydb-42d219fbd63ee173b0cb7db1b26a3ec615f0bb71.tar.gz |
Restoring authorship annotation for <tldr@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/getopt/small/completion_generator.cpp')
-rw-r--r-- | library/cpp/getopt/small/completion_generator.cpp | 4 |
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 3e8a5302b4..ac41988217 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; } |