Commit e033d902 authored by Hyun Soo  Kim's avatar Hyun Soo Kim
Browse files

add printName command: print current database name

parent 78b581a4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -34,9 +34,11 @@ public class Main {
    public static void commandHandler1(String cmd) throws IOException {
        switch (cmd) {
            case "--printDb":
                System.out.println(moleculeDb.name);
                moleculeDb.printDb();
                break;
            case "--printName":
                System.out.println(moleculeDb.name);
                break;
            case "--verbose":
                if (verbose) {
                    System.out.println("verbose: true -> false");