Support automatic command line parsing for TextBuiltin subclasses
commitd8e15c14ed1eea654d734dedd1bc2985f1bcaffc
authorShawn O. Pearce <spearce@spearce.org>
Thu, 17 Jul 2008 23:37:06 +0000 (17 19:37 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 19 Jul 2008 02:50:39 +0000 (18 22:50 -0400)
treeac05766634f28c9b326035984362e6c2b8acd72b
parentc9321d274570b670f987e08f3891300de06f67f0
Support automatic command line parsing for TextBuiltin subclasses

By default the execute method will parse the supplied arguments
and then invoke run().  Newer style builtins will override the
run method, rather than the execute method, and take advantage of
the standard parsing support.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit.pgm/src/org/spearce/jgit/pgm/TextBuiltin.java