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

View File

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