Add short version flag

This commit is contained in:
ConnorSkees 2020-01-20 11:09:05 -05:00
parent 058772edb4
commit 37ad341f91

View File

@ -7,6 +7,7 @@ fn main() -> SassResult<()> {
let matches = App::new("grass") let matches = App::new("grass")
.version(env!("CARGO_PKG_VERSION")) .version(env!("CARGO_PKG_VERSION"))
.about("SCSS Compiler in rust") .about("SCSS Compiler in rust")
.version_short("v")
.arg( .arg(
Arg::with_name("stdin") Arg::with_name("stdin")
.long("stdin") .long("stdin")