mirror of
https://github.com/thegeeklab/wait-for.git
synced 2024-11-14 08:50:39 +00:00
chore: adjust script formatting
This commit is contained in:
parent
d86854cde4
commit
2aff7ba92c
5
wait-for
5
wait-for
@ -12,7 +12,7 @@ usage() {
|
||||
cat <<USAGE >&2
|
||||
usage: wait-for host:port [-t timeout] [-- command args]
|
||||
|
||||
Synchronize services like docker containers and wait for readiness.
|
||||
Synchronize services like containers and wait for readiness.
|
||||
|
||||
optional arguments:
|
||||
-q | --quiet Do not output any status messages
|
||||
@ -39,8 +39,7 @@ wait_for() {
|
||||
exit 1
|
||||
}
|
||||
|
||||
while [ $# -gt 0 ]
|
||||
do
|
||||
while [ $# -gt 0 ]; do
|
||||
case "$1" in
|
||||
*:*)
|
||||
WAITFOR_HOST=$(printf "%s\n" "$1" | cut -d : -f 1)
|
||||
|
Loading…
Reference in New Issue
Block a user