better mimick dwm on version, also tested

main
Zynh0722 2024-01-31 16:26:46 -08:00
parent df25227db5
commit 33deea91aa
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ fn main() -> anyhow::Result<()> {
if arg != "-v" {
return Err(anyhow!("usage: rswm [-v]"));
} else {
println!(env!("CARGO_PKG_VERSION")); // TODO: test this
println!("rswm-{}", env!("CARGO_PKG_VERSION"));
return Ok(());
}
}