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