From 474c035b21896ccc98378d58d438c0cdf68163ff Mon Sep 17 00:00:00 2001 From: Timofey Khoruzhii Date: Tue, 9 May 2023 01:14:08 +0300 Subject: [PATCH] fix dev changes --- src/main.cpp | 5 ----- src/utils/command_parser.cpp | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 736f16b..46d9538 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -126,12 +126,7 @@ int main(int argc, char* argv[]) { if (getenv("CL_SUGGESTION") != nullptr) { auto suggestions = parser.GetPossibleAdditions(argc, argv); - int x = 0; for (auto& suggestion : suggestions) { - x++; - if (x == 7) { - break; - } std::cout << suggestion << " "; } } else { diff --git a/src/utils/command_parser.cpp b/src/utils/command_parser.cpp index d7a35e3..229553f 100644 --- a/src/utils/command_parser.cpp +++ b/src/utils/command_parser.cpp @@ -68,14 +68,14 @@ std::vector Parser::GetPossibleAdditions(const std::vector