From 04d8b73a18cf6c65d9c5f22955ac249fff60f930 Mon Sep 17 00:00:00 2001 From: Dima Pristupa Date: Tue, 1 Oct 2024 18:51:49 +0300 Subject: [PATCH] kamu-cli, command_needs_transaction(): add the pull command --- src/app/cli/src/cli_commands.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/cli/src/cli_commands.rs b/src/app/cli/src/cli_commands.rs index 0ef3f2e7a..f7ef6df72 100644 --- a/src/app/cli/src/cli_commands.rs +++ b/src/app/cli/src/cli_commands.rs @@ -527,7 +527,10 @@ pub fn command_needs_transaction(args: &cli::Cli) -> bool { cli::SystemSubCommand::GenerateToken(_) => true, _ => false, }, - cli::Command::Add(_) | cli::Command::Delete(_) | cli::Command::Rename(_) => true, + cli::Command::Add(_) + | cli::Command::Delete(_) + | cli::Command::Rename(_) + | cli::Command::Pull(_) => true, _ => false, } }