better mimick dwm on version, also tested
This commit is contained in:
parent
df25227db5
commit
33deea91aa
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ fn main() -> anyhow::Result<()> {
|
||||||
if arg != "-v" {
|
if arg != "-v" {
|
||||||
return Err(anyhow!("usage: rswm [-v]"));
|
return Err(anyhow!("usage: rswm [-v]"));
|
||||||
} else {
|
} else {
|
||||||
println!(env!("CARGO_PKG_VERSION")); // TODO: test this
|
println!("rswm-{}", env!("CARGO_PKG_VERSION"));
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue