Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit df4b58e

Browse files
committed
Print timeout default value in help output
Signed-off-by: Ali Afsharzadeh <[email protected]>
1 parent 5ae8405 commit df4b58e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ docker-stack-wait.sh [opts] stack_name
2121
may be passed multiple times, do not include the stack name prefix
2222
-r: treat a rollback as successful
2323
-s sec: frequency to poll service state (default 5 sec)
24-
-t sec: timeout to stop waiting
24+
-t sec: timeout to stop waiting (default 3600 sec)
2525
```
2626

2727
## Usage as container

docker-stack-wait.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ usage() {
2626
echo " may be passed multiple times, do not include the stack name prefix"
2727
echo " -r: treat a rollback as successful"
2828
echo " -s sec: frequency to poll service state (default $opt_s sec)"
29-
echo " -t sec: timeout to stop waiting"
29+
echo " -t sec: timeout to stop waiting (default $opt_t sec)"
3030
[ "$opt_h" = "1" ] && exit 0 || exit 1
3131
}
3232
check_timeout() {

0 commit comments

Comments
 (0)