Refactor ParameterCount enum and update option descriptions
[cli-helper.git] / src / main / java / eu / svjatoslav / commons / cli_helper / parameter_parser / ParameterCount.java
index bcaceec..0d74b3f 100755 (executable)
@@ -5,7 +5,8 @@
 package eu.svjatoslav.commons.cli_helper.parameter_parser;
 
 /**
- * This enum is used to define how many parameters con be given to particular option.
+ * This enumeration is used to define how many parameters
+ * does particular commandline option accept.
  */
 public enum ParameterCount {
 
@@ -13,13 +14,14 @@ public enum ParameterCount {
      * Option has no parameters.
      */
     NONE,
+
     /**
-     * Option has exactly one parameter.
+     * Option has exactly one mandatory parameter.
      */
-    SINGLE,
+    ONE,
 
     /**
-     * Option can have any amount of parameters.
+     * Option must have one or more parameters.
      */
-    MULTI
+    ONE_OR_MORE
 }