stoty commented on a change in pull request #58:
URL: https://github.com/apache/commons-cli/pull/58#discussion_r726801420



##########
File path: src/main/java/org/apache/commons/cli/DefaultParser.java
##########
@@ -101,6 +105,20 @@ public DefaultParser() {
      */
     public DefaultParser(final boolean allowPartialMatching) {
         this.allowPartialMatching = allowPartialMatching;
+        this.stripLeadingAndTrailingQuotes = true;
+    }
+
+    /**
+     * Create a new DefaultParser instance with the specified partial matching 
and quote

Review comment:
       Done

##########
File path: src/main/java/org/apache/commons/cli/DefaultParser.java
##########
@@ -625,4 +643,119 @@ private void updateRequiredOptions(final Option option) 
throws AlreadySelectedEx
             group.setSelected(option);
         }
     }
+
+    /**
+     * Strip balanced leading and trailing quotes if the 
stripLeadingAndTrailingQuotes is set
+     *
+     * @param token a string
+     * @return token with the quotes stripped (if set)
+     */

Review comment:
       Private is fine.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to