aboutsummaryrefslogtreecommitdiff
path: root/mling/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mling/src/cli.rs')
-rw-r--r--mling/src/cli.rs15
1 files changed, 12 insertions, 3 deletions
diff --git a/mling/src/cli.rs b/mling/src/cli.rs
index bfe602c..67d2ef0 100644
--- a/mling/src/cli.rs
+++ b/mling/src/cli.rs
@@ -177,10 +177,19 @@ pub fn render_mling_help(_prev: ResultMlingHelp, ec: &mut ResExitCode) -> Render
#[renderer]
pub fn render_unknown_command(prev: ResultUnknownCommand, ec: &mut ResExitCode) -> RenderResult {
let mut result = RenderResult::default();
- writeln!(result, "{}", eformat_cargo!("no such command: `{}`", prev.bright_yellow().bold())).ok();
+ writeln!(
+ result,
+ "{}",
+ eformat_cargo!("no such command: `{}`", prev.bright_yellow().bold())
+ )
+ .ok();
writeln!(result).ok();
- writeln!(result, "{}", hformat_cargo!("view all commands with `cargo help mling`"))
- .ok();
+ writeln!(
+ result,
+ "{}",
+ hformat_cargo!("view all commands with `cargo help mling`")
+ )
+ .ok();
ec.exit_code = 101;
result
}