commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Commons Wiki] Update of "CLI2/sampleApplication" by Andrew Oxenburgh
Date Tue, 03 Jun 2008 10:42:15 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification.

The following page has been changed by Andrew Oxenburgh:
http://wiki.apache.org/commons/CLI2/sampleApplication

------------------------------------------------------------------------------
  
  3. call command with long option (eg {{{calledCommand --length}}}) which should display
"found '-l'"
  
+ 4. call command with invalid long option (eg {{{calledCommand --invalid}}}) which should
display some error.
+ 
+ 5. call command with invalid short option (eg {{{calledCommand -i}}}) which should display
some error.
+ 
  I have included the source for both the application and the unit tests as attachements here.
  
  inline:CLIDemoWithOneOptionNoArgument.java

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message