executablewar 1.1
Allow main(String[]) to be an instance method

This way commands can extend a base class, which provides a standard
main implementation, such as to launch a command line parser and then
invoke the real logic from some other method.

Optionally, main may now return a numeric value, which becomes the
JVM's exit code.

Signed-off-by: Shawn O. Pearce <sop@google.com>
2 files changed
tree: 354e11991d946849d0c75818d5c67049a23b44ef
  1. .gitignore
  2. .settings/
  3. COPYING
  4. README
  5. pom.xml
  6. src/