From f09ec2409291847b8aa063a1dbdd3f260656706c Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Sun, 5 Oct 2025 12:57:58 -0500 Subject: [PATCH] Add remove mount capabilities to CLI and UI #62 --- repertory/repertory/include/cli/mount.hpp | 2 +- repertory/repertory/include/cli/remove.hpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/repertory/repertory/include/cli/mount.hpp b/repertory/repertory/include/cli/mount.hpp index 26693064..d159ab47 100644 --- a/repertory/repertory/include/cli/mount.hpp +++ b/repertory/repertory/include/cli/mount.hpp @@ -38,7 +38,7 @@ mount(std::vector args, std::string data_directory, auto has_gc_option = utils::cli::has_option(args, utils::cli::options::generate_config_option); - if (has_gc_option) { + if (not has_gc_option) { auto res = cli::check_data_directory(data_directory); if (res != exit_code::success) { return res; diff --git a/repertory/repertory/include/cli/remove.hpp b/repertory/repertory/include/cli/remove.hpp index 67fa559c..7e2f75e5 100644 --- a/repertory/repertory/include/cli/remove.hpp +++ b/repertory/repertory/include/cli/remove.hpp @@ -49,7 +49,6 @@ namespace repertory::cli::actions { { "trash", app_config::get_provider_name(prov), - unique_id, fmt::format("{}_{}", utils::time::get_current_time_utc(), utils::collection::to_hex_string( utils::generate_secure_random(4U))),