summaryrefslogtreecommitdiffstats
path: root/src/java/org/anarres/cpp/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/anarres/cpp/Main.java')
-rw-r--r--src/java/org/anarres/cpp/Main.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/anarres/cpp/Main.java b/src/java/org/anarres/cpp/Main.java
index c2a4dfb..56f5e19 100644
--- a/src/java/org/anarres/cpp/Main.java
+++ b/src/java/org/anarres/cpp/Main.java
@@ -75,7 +75,7 @@ public class Main {
"Adds the directory dir to the list of directories to be searched for header files."),
new Option("warning", LongOpt.REQUIRED_ARGUMENT, 'W', "type",
"Enables the named warning class (" + getWarnings() + ")."),
- new Option("nowarnings", LongOpt.NO_ARGUMENT, 'w', null,
+ new Option("no-warnings", LongOpt.NO_ARGUMENT, 'w', null,
"Disables ALL warnings."),
new Option("version", LongOpt.NO_ARGUMENT, 'V', null,
"Prints jcpp's version number (" + Version.getVersion() + ")"),