injekt/slop — pull request #68 by steakknife (2012-06-15 07:49:40+00:00)
Title: option max_count (strict only) 

Implemented `max_count` for maximum repeated option count.

The use-case is when an option may appear, at most, `max_count` times.

Example: `on :v, :max_count => 3` ===> `foo -vvv` (but not `foo -vvvv -v`)

All tests pass.