add info function

This commit is contained in:
Michael Stanclift 2020-10-23 14:23:53 +00:00
parent 277e7bd07b
commit 470dc3a2da
2 changed files with 12 additions and 0 deletions

View File

@ -157,6 +157,9 @@ case $# in
sudo)
start_gs
task_sudo ;;
info)
start_gs
task_info ;;
*)
start_gs
task_invalid ;;

View File

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