Skip to content
Snippets Groups Projects
Commit 671f1496 authored by Moul's avatar Moul
Browse files

config save: Print update confirmation

parent e999ecf4
No related branches found
No related tags found
1 merge request!36config save: Print update confirmation
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment