From a24eec3624db443f01bf476828582bfd391aa7b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Mon, 29 Jan 2024 15:51:30 +0100 Subject: [PATCH] Update _version to use --- qsgen2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qsgen2 b/qsgen2 index 8ad2b2d..1cffa3e 100755 --- a/qsgen2 +++ b/qsgen2 @@ -73,7 +73,7 @@ echo "${magenta}${QSGEN} ${VERSION}${end}" function _version() { echo "${yellow}- Created by kekePower - 2018-$(date +%Y)${end}" echo "${yellow}- https://github.com/kekePower/qsgen2/${end}" - echo "${yellow}- See '${0:t} help' for more information." + echo "${yellow}- See '${1} help' for more information." exit } @@ -84,7 +84,7 @@ function _help() { case ${1} in version || -v || --version) - _version + _version ${0:t} ;; help || -h || --help) _help