Title: [2486] trunk/openejb1/modules/core/src/java/org/openejb/cli/Main.java: Updated org.openejb.cli.Main to exit automatically when printAvailableCommands() is called and made the return value 0 instead of 1.
- Revision
- 2486
- Author
- jcscoobyrs
- Date
- 2006-02-22 16:28:00 -0500 (Wed, 22 Feb 2006)
Log Message
Updated org.openejb.cli.Main to exit automatically when printAvailableCommands() is called and made the return value 0 instead of 1.
Modified Paths
Diff
Modified: trunk/openejb1/modules/core/src/java/org/openejb/cli/Main.java (2485 => 2486)
--- trunk/openejb1/modules/core/src/java/org/openejb/cli/Main.java 2006-02-22 21:14:40 UTC (rev 2485)
+++ trunk/openejb1/modules/core/src/java/org/openejb/cli/Main.java 2006-02-22 21:28:00 UTC (rev 2486)
@@ -165,8 +165,6 @@
System.out.println("Usage: openejb command [command-options-and-arguments]\n");
printAvailableCommands();
-
- System.exit(1);
}
}
@@ -209,7 +207,7 @@
System.out.println("For updates and additional information, visit");
System.out.println("http://www.openejb.org\n");
System.out.println("Bug Reports to <[email protected]>");
-
- System.exit(1);
+
+ System.exit(0);
}
-}
\ No newline at end of file
+}