Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

Commit

Permalink
Get version with env!("CARGO_PKG_VERSION")
Browse files Browse the repository at this point in the history
  • Loading branch information
mmstick committed Jan 18, 2017
1 parent f722200 commit 17fe268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arguments/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl Args {
"ungroup" => (),
"verbose" => self.flags |= VERBOSE_MODE,
"version" => {
println!("MIT/Rust Parallel 0.10.6\n");
println!("MIT/Rust Parallel {}", env!("CARGO_PKG_VERSION"));
exit(0);
},
"tmpdir" | "tempdir" => {
Expand Down

0 comments on commit 17fe268

Please sign in to comment.