From be612f0ce25ce2f82367eb27d4f3cd6357ee483b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Sieroci=C5=84ski?= Date: Wed, 4 Dec 2024 11:51:10 +0100 Subject: [PATCH] fix: Version print issue --- gah | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gah b/gah index cacb62b..641a4fe 100755 --- a/gah +++ b/gah @@ -215,15 +215,15 @@ function get_known_alias() { function command_help() { echo "gah" - echo " install []" + echo " install []" echo " show " echo " help" - echo " VERSION" + echo " version" exit 0 } function command_version() { - echo $VERSION + echo "gah v$VERSION" exit 0 } @@ -316,7 +316,7 @@ function main() { if [[ -z "$1" || "$1" == "help" ]]; then command_help - elif [[ "$1" == "VERSION" ]]; then + elif [[ "$1" == "version" ]]; then command_version elif [[ "$1" == "install" ]]; then