From 671f149690d347b2bfe72ac7d4c8772f341e4e65 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Tue, 1 Oct 2024 15:51:50 +0200 Subject: [PATCH] config save: Print update confirmation --- src/conf.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/conf.rs b/src/conf.rs index f07ffff..5b3a2ac 100644 --- a/src/conf.rs +++ b/src/conf.rs @@ -86,6 +86,7 @@ pub fn handle_command(data: Data, command: Subcommand) -> Result<(), GcliError> } Subcommand::Save => { confy::store(APP_NAME, None, &data.cfg).expect("unable to write config"); + println!("Configuration updated!"); } Subcommand::Default => { confy::store(APP_NAME, None, Config::default()).expect("unable to write config"); -- GitLab