From: Doni Pracner Date: Mon, 28 Jul 2014 13:17:36 +0000 (+0200) Subject: mjc2wsl - added an error to display unrecognized options from the command line X-Git-Tag: v0.2.0~15 X-Git-Url: http://svarog.pmf.uns.ac.rs/gitweb/?p=mjc2wsl.git;a=commitdiff_plain;h=6e7963e611956408e4fb26e69ccababdcfa61845;ds=sidebyside mjc2wsl - added an error to display unrecognized options from the command line --- diff --git a/src/com/quemaster/transformations/mjc2wsl/mjc2wsl.java b/src/com/quemaster/transformations/mjc2wsl/mjc2wsl.java index f5bb3ea..d50c5a4 100644 --- a/src/com/quemaster/transformations/mjc2wsl/mjc2wsl.java +++ b/src/com/quemaster/transformations/mjc2wsl/mjc2wsl.java @@ -858,6 +858,8 @@ public class mjc2wsl{ genLocalVars = true; } else if (args[i].compareToIgnoreCase("--genGlobalVars") == 0) { genLocalVars = false; + } else { + System.err.println("unknown option: "+args[i]); } i++; }