aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/tools/gnu
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-01-24 18:31:50 +0000
committerTom Tromey <tromey@gcc.gnu.org>2008-01-24 18:31:50 +0000
commitc496dbb3c1b16e1eaa20b50ca5cb7b65b6dcc214 (patch)
tree0218c48200d80417e1991b2bd280a156ab684767 /libjava/classpath/tools/gnu
parent3b3036831347b661eb5584350971c130e0f5e772 (diff)
downloadgcc-c496dbb3c1b16e1eaa20b50ca5cb7b65b6dcc214.zip
gcc-c496dbb3c1b16e1eaa20b50ca5cb7b65b6dcc214.tar.gz
gcc-c496dbb3c1b16e1eaa20b50ca5cb7b65b6dcc214.tar.bz2
* resource/gnu/classpath/tools/native2ascii/messages.properties
(Native2ASCII.ReversedHelpCompat): New. * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java (createParser): Add -reverse. Update -reversed. From-SVN: r131801
Diffstat (limited to 'libjava/classpath/tools/gnu')
-rw-r--r--libjava/classpath/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java14
1 files changed, 12 insertions, 2 deletions
diff --git a/libjava/classpath/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java b/libjava/classpath/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
index 35e9f48..0667bef 100644
--- a/libjava/classpath/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
+++ b/libjava/classpath/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
@@ -1,5 +1,5 @@
/* Native2ASCII.java - native2ascii program
- Copyright (C) 2003, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2007, 2008 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -101,7 +101,17 @@ public class Native2ASCII
encoding = argument;
}
});
- result.add(new Option("reversed", Messages.getString("Native2ASCII.ReversedHelp")) //$NON-NLS-1$ //$NON-NLS-2$
+ 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$
{
public void parsed(String argument) throws OptionException
{