Skip to content

Commit c1d1b4f

Browse files
committed
make script name always correct when printing usage
1 parent e52fd20 commit c1d1b4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/log-collector

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ set -euo pipefail
1616

1717
usage() {
1818
cat << EOF
19-
Usage: ./log-collector -s <stack-name> -i <instance-id>
19+
Usage: $0 -s <stack-name> -i <instance-id>
2020
Collect Buildkite Elastic CI stack logs from AWS CloudWatch
2121
-s Stack name, can be found at https://console.aws.amazon.com/cloudformation/home
2222
-i Instance ID, the AWS instance ID for the instance you want to collect logs for

0 commit comments

Comments
 (0)