proper executable name

main
Zynh0722 2024-01-31 16:13:49 -08:00
parent a4331e93a3
commit dd1fbfe0de
1 changed files with 1 additions and 1 deletions

View File

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