We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d34ec8d commit 2783c02Copy full SHA for 2783c02
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "perg"
3
-version = "0.1.0"
+version = "0.3.0"
4
authors = ["Federico Guerinoni <guerinoni.federico@gmail.com>"]
5
edition = "2018"
6
src/main.rs
@@ -6,9 +6,11 @@ const FILE: &str = "FILE";
const LINE_NUMBER: &str = "line-number";
7
const RECURSIVE: &str = "recursive";
8
9
+const VERSION: &'static str = env!("CARGO_PKG_VERSION");
10
+
11
fn main() {
12
let matches = App::new("perg")
- .version("0.1.0")
13
+ .version(VERSION)
14
.author("Federico Guerinoni <guerinoni.federico@gmail.com>")
15
.about("grep like tool. Search for PATTERNS in each FILE.")
16
.arg(
0 commit comments