From 57254e5f931993c7ee96bf4e525e6d7d4c6c8267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Sun, 28 Jan 2024 19:34:30 +0100 Subject: [PATCH] Add version command line option --- qsgen2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qsgen2 b/qsgen2 index a1d9e9d..b07cf91 100755 --- a/qsgen2 +++ b/qsgen2 @@ -67,15 +67,16 @@ function include () { include common/colors +echo "${magenta}${QSGEN} ${VERSION}${end}" + # Pre-release exit if (${debug}); then - echo "${purple}${QSGEN} ${VERSION}${end}" # echo "${red}Not yet ready. Exiting.${end}" # exit fi if [[ ${1} == "version" ]] || [[ ${1} == "-v" ]] || [[ ${1} == "--version" ]]; then - echo "${purple}${QSGEN} ${VERSION}${end}" + # echo "${purple}${QSGEN} ${VERSION}${end}" echo "${yellow}- Created by kekePower - 2018-2024${end}" echo "${yellow}- https://github.com/kekePower/qsgen2/${end}" exit