Hi all,

as discussed on IRC with tromey, I've applied the attached patch.

cheers,
dalibor topic

2008-01-25  Dalibor Topic  <[EMAIL PROTECTED]>

        * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
        (createParser): Removed unused "reversed" misspelling. Use
        Native2ASCII.ReverseHelp instead of Native2ASCII.ReversedHelp.

        * resource/gnu/classpath/tools/native2ascii/messages.properties
        (Native2ASCII.ReverseHelp): New, renamed from ...
        (Native2ASCII.ReversedHelp): Removed.
        (Native2ASCII.ReversedHelpCompat): Removed.
Index: resource/gnu/classpath/tools/native2ascii/messages.properties
===================================================================
RCS file: /sources/classpath/classpath/resource/gnu/classpath/tools/native2ascii/messages.properties,v
retrieving revision 1.2
diff -u -p -r1.2 messages.properties
--- resource/gnu/classpath/tools/native2ascii/messages.properties	24 Jan 2008 18:28:42 -0000	1.2
+++ resource/gnu/classpath/tools/native2ascii/messages.properties	25 Jan 2008 19:17:23 -0000
@@ -40,5 +40,5 @@ Native2ASCII.Usage=Usage: native2ascii [
 Native2ASCII.EncodingHelp=encoding to use
 Native2ASCII.EncodingArgName=NAME
 Native2ASCII.EncodingSpecified=encoding already specified
-Native2ASCII.ReversedHelp=convert from encoding to native
-Native2ASCII.ReversedHelpCompat=alias for -reverse (deprecated)
+Native2ASCII.ReverseHelp=convert from encoding to native
+
Index: tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
===================================================================
RCS file: /sources/classpath/classpath/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java,v
retrieving revision 1.6
diff -u -p -r1.6 Native2ASCII.java
--- tools/gnu/classpath/tools/native2ascii/Native2ASCII.java	24 Jan 2008 18:28:42 -0000	1.6
+++ tools/gnu/classpath/tools/native2ascii/Native2ASCII.java	25 Jan 2008 19:17:23 -0000
@@ -101,17 +101,7 @@ public class Native2ASCII
         encoding = argument;
       }
     });
-    result.add(new Option("reverse", Messages.getString("Native2ASCII.ReversedHelp")) //$NON-NLS-1$ //$NON-NLS-2$
-    {
-      public void parsed(String argument) throws OptionException
-      {
-        reversed = true;
-      }
-    });
-
-    // We mistakenly added the extra "d" in "reversed"; now we don't
-    // want to remove it, for backward compatibility.
-    result.add(new Option("reversed", Messages.getString("Native2ASCII.ReversedHelpCompat")) //$NON-NLS-1$ //$NON-NLS-2$
+    result.add(new Option("reverse", Messages.getString("Native2ASCII.ReverseHelp")) //$NON-NLS-1$ //$NON-NLS-2$
     {
       public void parsed(String argument) throws OptionException
       {

Reply via email to