more elegant commandline handling
[meviz.git] / src / main / java / eu / svjatoslav / meviz / bomremove / Main.java
index 6cb3c7f..201c723 100755 (executable)
@@ -1,7 +1,7 @@
 /*
  * Meviz - Various tools collection to work with multimedia.
  * Copyright (C) 2012, 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
  * as published by the Free Software Foundation.
@@ -60,7 +60,7 @@ public class Main implements Module {
 
        @Override
        public String getDescription() {
-               return "Remove byte order mark (bom) from UTF text files of they are present.";
+               return "Remove byte order mark (bom) from UTF text files if they are present.";
        }
 
        @Override
@@ -114,7 +114,7 @@ public class Main implements Module {
 
        @Override
        public void showCommandlineHelp() {
-               commandlineHandler.initParser().showHelp();
+               commandlineHandler.parser.showHelp();
        }
 
        public void stripFileFromHeader(final File file)