aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/mozart/src/commands/config.rs')
-rw-r--r--crates/mozart/src/commands/config.rs11
1 files changed, 4 insertions, 7 deletions
diff --git a/crates/mozart/src/commands/config.rs b/crates/mozart/src/commands/config.rs
index ebc8f30..64cf209 100644
--- a/crates/mozart/src/commands/config.rs
+++ b/crates/mozart/src/commands/config.rs
@@ -787,13 +787,10 @@ fn execute_read(
match &args.setting_key {
None => {
- console.error(&format!(
- "{}",
- mozart_core::console::error(
- "No command specified. Use --list to show all config values, \
- or provide a setting key."
- )
- ));
+ console.error(
+ "No command specified. Use --list to show all config values, \
+ or provide a setting key.",
+ );
return Err(mozart_core::exit_code::bail_silent(
mozart_core::exit_code::GENERAL_ERROR,
));