This commit is contained in:
Alex 2019-01-26 01:21:49 +01:00 committed by GitHub
parent a25ae753fd
commit 008ab6388f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
## Functions ## Functions
function maitenance { function maintenance {
output "info" "Removing stopped containers" output "info" "Removing stopped containers"
dp "container" dp "container"
output "info" "Pruning unused images" output "info" "Pruning unused images"
@ -237,7 +237,7 @@ functions=(
"restart" "restart"
"status" "status"
"update" "update"
"maitenance" "maintenance"
"selfupdate" "selfupdate"
) )
components=( components=(
@ -276,10 +276,10 @@ case "$1" in
"restart") stop; start;; "restart") stop; start;;
"status") status;; "status") status;;
"update") update "$2";; "update") update "$2";;
"maitenance") maitenance;; "maintenance") maintenance;;
"selfupdate") selfupdate;; "selfupdate") selfupdate;;
*) *)
output "err" "That command does not exist! Available functions are:" output "err" "That command does not exist! Available functions are:"
output "info" "${functions[*]}" output "info" "${functions[*]}"
;; ;;
esac esac