Skip to content

Commit 4a309cc

Browse files
committed
fix representation of cmd name in usage()/help
1 parent 40f22ac commit 4a309cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wait-for

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ usage() {
2121
exitcode="$1"
2222
cat << USAGE >&2
2323
Usage:
24-
$cmdname host:port [-t timeout] [-- command args]
24+
$(basename $0) host:port [-t timeout] [-- command args]
2525
-q | --quiet Do not output any status messages
2626
-s | --strict Only execute subcommand if the test succeeds
2727
-t TIMEOUT | --timeout=timeout Timeout in seconds, zero for no timeout

0 commit comments

Comments
 (0)