From de07fea1b046d2e233980bbe34ed3dd462181fa5 Mon Sep 17 00:00:00 2001 From: Hind Montassif Date: Fri, 22 Sep 2023 11:21:31 +0200 Subject: [PATCH] Add comments in repoquery --- micromamba/src/repoquery.cpp | 1 + micromamba/src/umamba.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/micromamba/src/repoquery.cpp b/micromamba/src/repoquery.cpp index 565e785fe3..151f1ae4ca 100644 --- a/micromamba/src/repoquery.cpp +++ b/micromamba/src/repoquery.cpp @@ -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"; } diff --git a/micromamba/src/umamba.cpp b/micromamba/src/umamba.cpp index ea0f97a00b..a19ac8d34d 100644 --- a/micromamba/src/umamba.cpp +++ b/micromamba/src/umamba.cpp @@ -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);