aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-18 12:40:40 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-09-18 12:40:40 +0200
commit9e979cef7217519e116a4d54b60bbbf21348a0aa (patch)
treee24a5d35eded4dc460673128d2a2eb33f1c2faf9 /src/main.rs
parent72d6d546a09d865caf43a164e928f8be58c4cadb (diff)
Run ‘cargo fmt’
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 977627d..6c74669 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -19,7 +19,6 @@ use {
tempfile::tempdir,
};
-
const MMV_DEFAULT_NAME: &str = "mmv";
const MCP_DEFAULT_NAME: &str = "mcp";
@@ -92,9 +91,15 @@ fn usage(bad_flags: Option<lexopt::Error>) -> ! {
let p = Path::new(&argv0).file_name().unwrap();
let mcp_name = option_env!("MCP_NAME").unwrap_or(MCP_DEFAULT_NAME);
if p == mcp_name {
- eprintln!("Usage: {} [-0deiv] command [argument ...]", p.to_str().unwrap());
+ eprintln!(
+ "Usage: {} [-0deiv] command [argument ...]",
+ p.to_str().unwrap()
+ );
} else {
- eprintln!("Usage: {} [-0deinv] command [argument ...]", p.to_str().unwrap());
+ eprintln!(
+ "Usage: {} [-0deinv] command [argument ...]",
+ p.to_str().unwrap()
+ );
}
process::exit(1);
}