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