For PR libgcj/5303:

* gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
	and --version.
	(help): New method.
	(version): Likewise.
	* gnu/gcj/convert/Convert.java (version): Removed extraneous
	"GNU".
	* gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
	"GNU".

From-SVN: r51343
This commit is contained in:
Tom Tromey 2002-03-25 22:08:27 +00:00 committed by Tom Tromey
parent 355426abb3
commit f695acf69c
4 changed files with 41 additions and 3 deletions

View file

@ -939,7 +939,7 @@ private void parseOptions() {
usage();
}
else if (arg.equals("-version")) {
System.out.println("rmic (GNU "
System.out.println("rmic ("
+ System.getProperty("java.vm.name")
+ ") "
+ System.getProperty("java.vm.version"));