From c51753d3882263695a81fd2b6007344bd9029154 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Fri, 29 May 2020 18:09:48 -0500 Subject: [PATCH] Updated show version --- gravity-sync.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index 70ef759..372beea 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -884,10 +884,13 @@ function list_gs_arguments { # Output Version function show_version { - MESSAGE="${PROGRAM} ${VERSION}" + MESSAGE="${PROGRAM} by @vmstan" + echo_info + + MESSAGE="Current Version: ${VERSION}" echo_info - GITVERSION=$(curl https://raw.githubusercontent.com/vmstan/gravity-sync/development/VERSION) + GITVERSION=$(curl -s https://raw.githubusercontent.com/vmstan/gravity-sync/development/VERSION) MESSAGE="Latest Version: ${GITVERSION}" echo_info }