Skip to content

Commit

Permalink
Fix formating
Browse files Browse the repository at this point in the history
  • Loading branch information
rjanalik committed Feb 26, 2025
1 parent e13a91c commit b26a0c3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/util/completion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ std::vector<std::string> get_command(CLI::App* cli) {

// Recursively traverse tree of subcommands created by CLI11
// Creates list of completions for every subcommand
void traverse_subcommand_tree(completion_list &cl, CLI::App* cli) {
void traverse_subcommand_tree(completion_list& cl, CLI::App* cli) {
if (cli == nullptr)
return;

Expand Down Expand Up @@ -81,8 +81,7 @@ std::string bash_completion(CLI::App* cli) {
fmt::join(item.command, "_"),
fmt::join(item.completions, " "));
};
auto prefix_functions =
std::views::transform(cl, gen_bash_function);
auto prefix_functions = std::views::transform(cl, gen_bash_function);

std::string main_functions = R"(
_uenv_completions()
Expand Down

0 comments on commit b26a0c3

Please # to comment.