Updated copyright message.
[meviz.git] / src / main / java / eu / svjatoslav / meviz / htmlindexer / CommandlineHandler.java
index 497b5b3..d4e9758 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 -- 2018, 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
@@ -32,13 +32,13 @@ class CommandlineHandler {
             .addAliases("-w", "--working-directory").mustExist();
 
     public String getGalleryTitle() {
-        if (galleryNameParameter.isParameterSpecified())
+        if (galleryNameParameter.isSpecified())
             return galleryNameParameter.getValue();
         return Constants.DEFAULT_GALLERY_TITLE;
     }
 
     public File getWorkingDirectory() {
-        if (workingDirectoryParameter.isParameterSpecified())
+        if (workingDirectoryParameter.isSpecified())
             return workingDirectoryParameter.getValue();
         else
             return new File(System.getProperty("user.dir"));