proper executable name
parent
a4331e93a3
commit
dd1fbfe0de
|
@ -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(());
|
||||
|
|
Loading…
Reference in New Issue