Merge branch 'main' of https://git.zynh.me/Zynh0722/rswm
commit
a4331e93a3
|
@ -19,7 +19,7 @@ fn main() -> anyhow::Result<()> {
|
|||
if arg != "-v" {
|
||||
return Err(anyhow!("usage: rwm [-v]"));
|
||||
} else {
|
||||
println!("version goes here ;P"); // TODO: Sus out version info from cargo
|
||||
println!(env!("CARGO_PKG_VERSION")); // TODO: test this
|
||||
return Ok(());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue