Support automatic command line parsing for TextBuiltin subclasses
commitd207b1710f34d38a6315033f9a4ba7dd2a23621d
authorShawn O. Pearce <spearce@spearce.org>
Fri, 18 Jul 2008 01:44:10 +0000 (17 21:44 -0400)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 23 Jul 2008 19:52:08 +0000 (23 21:52 +0200)
tree0629161d2646a745aa8885ef35c1a534ed6f1d52
parent89434e2a23214e8acfbe9f920ccb74ca247d8209
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>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit.pgm/src/org/spearce/jgit/pgm/TextBuiltin.java