diff options
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | resource/gnu/classpath/tools/native2ascii/messages.properties | 4 | ||||
-rw-r--r-- | tools/gnu/classpath/tools/native2ascii/Native2ASCII.java | 12 |
3 files changed, 14 insertions, 13 deletions
@@ -1,3 +1,14 @@ +2008-01-25 Dalibor Topic <robilad@kaffe.org> + + * 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. + 2008-01-24 Tom Tromey <tromey@redhat.com> * resource/gnu/classpath/tools/native2ascii/messages.properties diff --git a/resource/gnu/classpath/tools/native2ascii/messages.properties b/resource/gnu/classpath/tools/native2ascii/messages.properties index fe2d10ae3..f04d184f2 100644 --- a/resource/gnu/classpath/tools/native2ascii/messages.properties +++ b/resource/gnu/classpath/tools/native2ascii/messages.properties @@ -40,5 +40,5 @@ Native2ASCII.Usage=Usage: native2ascii [OPTIONS]... [INPUTFILE [OUTPUTFILE]] 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 + diff --git a/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java b/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java index 0667befc6..b7752d9b3 100644 --- a/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java +++ b/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java @@ -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 { |