get cargo pkg version from env
This commit is contained in:
parent
1c84e15ccb
commit
a8bc23e0af
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ fn main() -> anyhow::Result<()> {
|
||||||
if arg != "-v" {
|
if arg != "-v" {
|
||||||
return Err(anyhow!("usage: rwm [-v]"));
|
return Err(anyhow!("usage: rwm [-v]"));
|
||||||
} else {
|
} else {
|
||||||
println!("version goes here ;P"); // TODO: Sus out version info from cargo
|
println!(env!("CARGO_PKG_VERSION")); // TODO: test this
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue