gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
mjc2wsl - added an error to display unrecognized options from the command line
authorDoni Pracner <quinnuendo@gmail.com>
Mon, 28 Jul 2014 13:17:36 +0000 (15:17 +0200)
committerDoni Pracner <quinnuendo@gmail.com>
Mon, 28 Jul 2014 13:17:36 +0000 (15:17 +0200)
src/com/quemaster/transformations/mjc2wsl/mjc2wsl.java

index f5bb3ea96b6e8aecd5f8cbb132f0876a193cdc8b..d50c5a4b9827d107d7de29b5608d6aa2d7c9b6fc 100644 (file)
@@ -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++;
                        }
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner