diff --git a/gravity-sync.sh b/gravity-sync.sh index fabcde6..b2dbc84 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -157,6 +157,9 @@ case $# in sudo) start_gs task_sudo ;; + info) + start_gs + task_info ;; *) start_gs task_invalid ;; diff --git a/includes/gs-update.sh b/includes/gs-update.sh index be3a4e9..3928eef 100644 --- a/includes/gs-update.sh +++ b/includes/gs-update.sh @@ -143,5 +143,14 @@ function task_version { echo_good show_version + exit_nochange +} + +## Info Task + +function task_info() { + TASKTYPE='INFO' + MESSAGE="${MESSAGE}: ${TASKTYPE} Requested" + exit_nochange } \ No newline at end of file