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:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user