commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex" <alex.s...@partners.netfocus.es>
Subject [CLI] Maybe a bug?
Date Tue, 11 Oct 2005 12:48:59 GMT
Hello, maybe i have encoutred a bug in version 2.0 of CLI. If i create
the next Argument 
 
new ArgumentBuilder().withDescription(withDescription)
 
.withLongName(withLongName)
 
.withMaximumSize(withMaxSize)
 
.withMinimumSize(withMinSize)
                                                     .withName(withName)
 
.withRequired(required)
 
.withValueName(withValueName)
 
.withValueSeparator(valueSeparator)
 
.withValueValidator(withValueValidator)
 
.withValueType(type)
                                                     .create();
where with valueSeparator = ','
 
Then if i created the next entry {"-d","/usr/bin",",","/etc"}; then an
error is encoutred, but, if i put {"-d","/usr/bin","/etc"} works
perfectly, but if you see i have no specified any separator.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message