package joptsimple;

import java.util.Collection;

class MultipleArgumentsForOptionException extends OptionException {
   private static final long serialVersionUID = -1L;

   MultipleArgumentsForOptionException(Collection<String> options) {
      super(options);
   }

   public String getMessage() {
      return "Found multiple arguments for option " + this.multipleOptionMessage() + ", but you asked for only one";
   }
}
