Update _version to use

This commit is contained in:
Stig-Ørjan Smelror 2024-01-29 15:51:30 +01:00
parent 6d30006368
commit a24eec3624

4
qsgen2
View File

@ -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