From a270d08c47382a2d44c22ecc8d8a5bdd5bfc3208 Mon Sep 17 00:00:00 2001 From: Valerie Date: Wed, 28 Jul 2021 00:42:16 -0400 Subject: [PATCH] added version number to help text --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 2810c6d..9e33d24 100644 --- a/src/main.rs +++ b/src/main.rs @@ -22,7 +22,7 @@ fn main() { match arg.as_str() { "-h" | "--help" => { - println!("open + println!("open v0.4.0 Valerie Wolfe A Linux implementation of the \"open\" command on Mac OS written in Rust and easily configurable. @@ -33,6 +33,7 @@ FLAGS: -h, --help Prints this help text -a, --add Add a handler for a operand type -p, --path Prints the config path used + -v, --version Prints the version number "); return; },