Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
SandrineP committed Feb 5, 2025
1 parent baef54e commit 3ad41e4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion libmamba/src/api/list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ namespace mamba
std::cout << std::endl;
}
}
}
}
else if (options.explicit_)
{
if (options.canonical)
Expand Down
14 changes: 9 additions & 5 deletions micromamba/src/list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,13 @@ init_list_parser(CLI::App* subcom, Configuration& config)
);
subcom->add_flag("--reverse", reverse.get_cli_config<bool>(), reverse.description());

auto& explicit_ = config.insert(Configurable("explicit", false)
.group("cli")
.description("List explicitly all installed packages with URL. Ignored if --revisions is also provided."
));
auto& explicit_ = config.insert(
Configurable("explicit", false)
.group("cli")
.description(
"List explicitly all installed packages with URL. Ignored if --revisions is also provided."
)
);
subcom->add_flag("--explicit", explicit_.get_cli_config<bool>(), explicit_.description());

auto& md5 = config.insert(
Expand All @@ -53,7 +56,8 @@ init_list_parser(CLI::App* subcom, Configuration& config)
auto& canonical = config.insert(
Configurable("canonical", false)
.group("cli")
.description("Output canonical names of packages only. Ignored if --revisions or --explicit is also provided."
.description(
"Output canonical names of packages only. Ignored if --revisions or --explicit is also provided."
)
);
subcom->add_flag("-c,--canonical", canonical.get_cli_config<bool>(), canonical.description());
Expand Down

0 comments on commit 3ad41e4

Please sign in to comment.