diff options
author | Shevek <[email protected]> | 2008-05-07 22:58:16 +0000 |
---|---|---|
committer | Shevek <[email protected]> | 2008-05-07 22:58:16 +0000 |
commit | ca99dd29fad24a8b928439e08b10a58dc2c691d1 (patch) | |
tree | b054bab4f6f42e11c6bfadedcb71ae9f187f99a0 /src/java | |
parent | 4f32369bf3db4c2b62507a3473bf4c012b2b6871 (diff) |
more to date for 2.0
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/org/anarres/cpp/Feature.java | 19 | ||||
-rw-r--r-- | src/java/org/anarres/cpp/Main.java | 2 | ||||
-rw-r--r-- | src/java/org/anarres/cpp/Warning.java | 19 |
3 files changed, 39 insertions, 1 deletions
diff --git a/src/java/org/anarres/cpp/Feature.java b/src/java/org/anarres/cpp/Feature.java index a27df59..fe647c8 100644 --- a/src/java/org/anarres/cpp/Feature.java +++ b/src/java/org/anarres/cpp/Feature.java @@ -1,3 +1,22 @@ +/* + * Anarres C Preprocessor + * Copyright (C) 2007 Shevek + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + package org.anarres.cpp; public enum Feature { 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() + ")"), diff --git a/src/java/org/anarres/cpp/Warning.java b/src/java/org/anarres/cpp/Warning.java index a6450fb..53badee 100644 --- a/src/java/org/anarres/cpp/Warning.java +++ b/src/java/org/anarres/cpp/Warning.java @@ -1,3 +1,22 @@ +/* + * Anarres C Preprocessor + * Copyright (C) 2007 Shevek + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + package org.anarres.cpp; public enum Warning { |