added ping repetitions -r

-c count was already used so -r for repetitions instead