Skip to content

Commit

Permalink
Release 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
guerinoni committed May 8, 2021
1 parent d34ec8d commit 2783c02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perg"
version = "0.1.0"
version = "0.3.0"
authors = ["Federico Guerinoni <guerinoni.federico@gmail.com>"]
edition = "2018"

Expand Down
4 changes: 3 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ const FILE: &str = "FILE";
const LINE_NUMBER: &str = "line-number";
const RECURSIVE: &str = "recursive";

const VERSION: &'static str = env!("CARGO_PKG_VERSION");

fn main() {
let matches = App::new("perg")
.version("0.1.0")
.version(VERSION)
.author("Federico Guerinoni <guerinoni.federico@gmail.com>")
.about("grep like tool. Search for PATTERNS in each FILE.")
.arg(
Expand Down

0 comments on commit 2783c02

Please sign in to comment.