Fixed aspect ratio of WEBM files
[meviz.git] / src / main / java / eu / svjatoslav / meviz / textsplitter / CommandlineHandler.java
index a07d10c..21a2ed4 100755 (executable)
@@ -1,6 +1,6 @@
 /*
  * Meviz - Various tools collection to work with multimedia.
- * Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ * Copyright (C) 2012 -- 2017, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of version 2 of the GNU General Public License
@@ -43,19 +43,19 @@ class CommandlineHandler {
         if (!parser.parse(args))
             return null;
 
-        if (recursiveParameter.isParameterSpecified())
+        if (recursiveParameter.isSpecified())
             options.recursive = true;
 
-        if (workingDirectoryParameter.isParameterSpecified())
+        if (workingDirectoryParameter.isSpecified())
             options.targetDirectory = workingDirectoryParameter.getValue();
         else
             options.targetDirectory = new File(System.getProperty("user.dir"));
 
-        if (fileInputPatternsParameter.isParameterSpecified())
+        if (fileInputPatternsParameter.isSpecified())
             options.fileInputPatterns.addAll(fileInputPatternsParameter
                     .getValue());
 
-        if (splitPatternsParameter.isParameterSpecified())
+        if (splitPatternsParameter.isSpecified())
             options.textSplitPatterns.addAll(splitPatternsParameter.getValue());
 
         return options;