History log of /external/jcommander/src/test/java/com/beust/jcommander/command/CommandAliasTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c199c87fcd7d702047dd813fbc4224c7d85fd95d 07-Jul-2011 Cedric Beust <cedric@beust.com> Added: usage() now displays the options for each command as well
/external/jcommander/src/test/java/com/beust/jcommander/command/CommandAliasTest.java
307ad87e19e6c8ae91d7dec7acfe308873097e26 31-May-2011 Cedric Beust <cedric@beust.com> Minor fixes on top of rodionmoiseev's patch.

- Javadoc update
- Disabled a test.
/external/jcommander/src/test/java/com/beust/jcommander/command/CommandAliasTest.java
4804ce09adb4fe1227850edc5ef4545528704678 28-May-2011 rodionmoiseev <rodion.moiseev@gmail.com> Added support for command aliases, e.g. "ci" for "commit" command, etc.

Any number of aliases can be optionally specified to the addCommand() method. In usage output commands containing aliases will be formatted with a post-fixed comma-separated list of aliases in brackets, e.g. commit(ci,cmt).

usage(String) series of methods also accept both commands and aliases.

All existing API should be compatible with previous versions.
/external/jcommander/src/test/java/com/beust/jcommander/command/CommandAliasTest.java