proper executable name
This commit is contained in:
parent
a4331e93a3
commit
dd1fbfe0de
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue