proper executable name

This commit is contained in:
Zynh0722 2024-01-31 16:13:49 -08:00
parent a4331e93a3
commit dd1fbfe0de

View file

@ -17,7 +17,7 @@ fn main() -> anyhow::Result<()> {
let mut args = std::env::args().skip(1); let mut args = std::env::args().skip(1);
if let Some(arg) = args.next() { if let Some(arg) = args.next() {
if arg != "-v" { if arg != "-v" {
return Err(anyhow!("usage: rwm [-v]")); return Err(anyhow!("usage: rswm [-v]"));
} else { } else {
println!(env!("CARGO_PKG_VERSION")); // TODO: test this println!(env!("CARGO_PKG_VERSION")); // TODO: test this
return Ok(()); return Ok(());