package poml.tools;

import java.lang.management.ManagementFactory;

import poml.Version;

public class Console {
  public static void version() {
    System.out.println();
    System.out.print("Version: ");
    System.out.println(Version.num);
  }
  public static void help() {
    System.out.println();
    System.out.println("Usage: poml [option]");
    System.out.println();
    System.out.print("poml   ");
    System.out.println("\t   convert pom.poml to pom.xml");
    System.out.print("poml -h");
    System.out.println("\t   display this help");
    System.out.print("poml -v");
    System.out.println("\t   display version");
  }

  public static void start(String srcFile) {
    System.out.print("[POML:INFO] Processing \"");
    System.out.print(srcFile);
    System.out.println("\"");
  }
  public static void error(Throwable e, String dstFile) {
    System.err.print("[POML:ERROR] ");
    System.err.println(e.getMessage());
    System.err.print("[POML:ERROR] Could not generate \"");
    System.err.print(dstFile);
    System.err.println("\"");
  }
  public static void end(String dstFile) {
    System.out.print("[POML:INFO] Genarated \"");
    System.out.print(dstFile);
    System.out.print("\" @");
    System.out.print(
        ManagementFactory
          .getRuntimeMXBean().getUptime());
    System.out.println("ms");
  }
}

@@ -144,69 +144,8 @@
 ) %7B%0A
-    System.out.println();%0A    System.out.print(%22Version: %22);%0A
     

Update display version.