Browse Source

Update CommandLineOptions.java

sdk2 9 years ago
parent
commit
7ddfc4952d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      jplag/src/main/java/jplag/options/CommandLineOptions.java

+ 2 - 1
jplag/src/main/java/jplag/options/CommandLineOptions.java

@@ -321,6 +321,7 @@ public class CommandLineOptions extends Options {
                 throw new jplag.ExitException("Title is empty!");
             }
             this.title = args[i+1];
+            i++;
         } else if (!scanOption(arg))
             throw new jplag.ExitException("Unknown option: " + arg,
                     ExitException.BAD_PARAMETER);
@@ -402,4 +403,4 @@ public class CommandLineOptions extends Options {
         }
     }
 
-}
+}