Skip to content

Commit

Permalink
Add comments in micromamba repoquery (#2863)
Browse files Browse the repository at this point in the history
Add comments in repoquery
  • Loading branch information
Hind-M authored Sep 23, 2023
1 parent 60962b9 commit 0fbb449
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions micromamba/src/repoquery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ set_common_search(CLI::App* subcom, mamba::Configuration& config, bool is_repoqu
}
else
{
// `search` and `repoquery search` are equivalent
query_type = "search";
}

Expand Down
3 changes: 2 additions & 1 deletion micromamba/src/umamba.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ set_umamba_command(CLI::App* com, mamba::Configuration& config)

CLI::App* search_subcom = com->add_subcommand(
"search",
"Find packages in active environment or channels"
"Find packages in active environment or channels\n"
"This is equivalent to `repoquery search` command"
);
set_search_command(search_subcom, config);

Expand Down

0 comments on commit 0fbb449

Please sign in to comment.