Skip to content

Commit cb8c457

Browse files
author
Robert James Oxspring
committed
Recommitted with the fix applied not commented out (whoops)
PR: 25044 git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/cli/trunk@130110 13f79535-47bb-0310-9956-ffa450edef68
1 parent 9903ac8 commit cb8c457

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/java/org/apache/commons/cli/Parser.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*
2828
* @author John Keyes (john at integralsource.com)
2929
* @see Parser
30-
* @version $Revision: 1.16 $
30+
* @version $Revision: 1.17 $
3131
*/
3232
public abstract class Parser implements CommandLineParser {
3333

@@ -320,8 +320,7 @@ public void processArgs(Option opt, ListIterator iter)
320320
String str = (String) iter.next();
321321

322322
// found an Option, not an argument
323-
//if (options.hasOption(str) && str.startsWith("-"))
324-
if (options.hasOption(str))
323+
if (options.hasOption(str) && str.startsWith("-"))
325324
{
326325
iter.previous();
327326

0 commit comments

Comments
 (0)