<commit_before>#!/bin/bash
for INSTANCE_ID in `elb-describe-instance-health $2 | cut -c14-23`
do 
	INSTANCE_IP=`ec2-describe-instances $INSTANCE_ID | sed -n 2p | cut -f17`
	STATUS=`curl --resolve $1:80:$INSTANCE_IP $1 -I -s | head -n 1`
	echo "$INSTANCE_ID: $STATUS"
done<commit_msg>Adding validation for the number of command line arguments and usage help<commit_after>#!/bin/bash
if [ $# -eq 2 ]
then

	for INSTANCE_ID in `elb-describe-instance-health $2 | cut -c14-23`
	do 
		INSTANCE_IP=`ec2-describe-instances $INSTANCE_ID | sed -n 2p | cut -f17`
		STATUS=`curl --resolve $1:80:$INSTANCE_IP $1 -I -s | head -n 1`
		echo "$INSTANCE_ID: $STATUS"
	done
else
	echo "USAGE: check-elb-instances-status.sh domain-name elb-name"
fi
{'fraction_non_alphanumeric': 0.14285714285714285, 'fraction_numerical': 0.03983516483516483, 'mean_word_length': 4.027586206896552, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1182369', 'n_tokens_mistral': 314, 'n_tokens_neox': 285, 'n_words': 79}