Spelling
This commit is contained in:
parent
a25ae753fd
commit
008ab6388f
8
manager
8
manager
|
@ -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
|
||||||
|
|
Reference in New Issue