#compdef loop

_loop() {
  _arguments -C \
    '-c[stops after COUNT runs of the command]:' \
    '-i[wait INTERVAL seconds between each command run]:' \
    '-t[stops commands run after a TIME seconds period]:'
}

_loop
