Skip to content

Commit 1bd9fc4

Browse files
Stop hard-coding the version number in the help output
1 parent 9d6389a commit 1bd9fc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ec2-metadata

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
function print_help()
1010
{
11-
echo "ec2-metadata v0.1.6
11+
echo "ec2-metadata v%EC2_METADATA_VERSION%
1212
Use to retrieve EC2 instance metadata from within a running EC2 instance.
1313
e.g. to retrieve instance id: ec2-metadata -i
1414
to retrieve ami id: ec2-metadata -a

0 commit comments

Comments
 (0)