svartalf / rust-battop

Interactive batteries viewer
https://crates.io/crates/battop
Apache License 2.0
470 stars 20 forks source link

Add --version, -v parameter for battery-cli #1

Closed non-descriptive closed 5 years ago

non-descriptive commented 5 years ago

It appears I can't check current installed version of it. it just launches

non-descriptive commented 5 years ago

This should be helpful https://docs.rs/clap/2.32.0/clap/macro.crate_version.html https://docs.rs/structopt/0.2.14/structopt/clap/macro.crate_version.html

svartalf commented 5 years ago

Closed in 8fbbe7bd7395bb598a8965165c3a197ed0047d71