aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/argparser/ArgParser.java52
1 files changed, 48 insertions, 4 deletions
diff --git a/src/argparser/ArgParser.java b/src/argparser/ArgParser.java
index 1c1f28e..767b01d 100644
--- a/src/argparser/ArgParser.java
+++ b/src/argparser/ArgParser.java
@@ -302,11 +302,23 @@ public class ArgParser
/**
* Constructor
*
+ * @param argument Argument name
+ * @param alternatives Alterative option names
+ * @param standard Standard option index
+ */
+ public Argumented(final String argument, final String[] alternatives, final int standard)
+ { super(alternatives, standard, argument);
+ }
+
+ /**
+ * Constructor
+ *
+ * @param standard Standard option index
* @param alternatives Alterative option names
* @param argument Argument name
*/
- public Argumented(final String[] alternatives, final String argument)
- { super(alternatives, 0, argument);
+ public Argumented(final int standard, final String[] alternatives, final String argument)
+ { super(alternatives, standard, argument);
}
/**
@@ -334,6 +346,16 @@ public class ArgParser
/**
* Constructor
*
+ * @param alternatives Alterative option names
+ * @param argument Argument name
+ */
+ public Argumented(final String[] alternatives, final String argument)
+ { super(alternatives, 0, argument);
+ }
+
+ /**
+ * Constructor
+ *
* @param argument Argument name
* @param alternatives Alterative option names
*/
@@ -373,11 +395,23 @@ public class ArgParser
/**
* Constructor
*
+ * @param argument Argument name
+ * @param alternatives Alterative option names
+ * @param standard Standard option index
+ */
+ public Variadic(final String argument, final String[] alternatives, final int standard)
+ { super(alternatives, argument, standard);
+ }
+
+ /**
+ * Constructor
+ *
+ * @param standard Standard option index
* @param alternatives Alterative option names
* @param argument Argument name
*/
- public Variadic(final String[] alternatives, final String argument)
- { super(alternatives, argument);
+ public Variadic(final int standard, final String[] alternatives, final String argument)
+ { super(standard, argument, alternatives);
}
/**
@@ -405,6 +439,16 @@ public class ArgParser
/**
* Constructor
*
+ * @param alternatives Alterative option names
+ * @param argument Argument name
+ */
+ public Variadic(final String[] alternatives, final String argument)
+ { super(alternatives, argument);
+ }
+
+ /**
+ * Constructor
+ *
* @param argument Argument name
* @param alternatives Alterative option names
*/