/** * @author Luke Tyler Downey * Copyright 2011 Glow Interactive * * This software contains original work and/or modifications to * original work, which are redistributed under the following terms. * * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package com.glowinteractive.reforger; public class Console { public static void main(String[] args) { if (args.length != 2) { System.err.println("Usage: java -jar Reforger.jar [realm] [character]"); System.exit(1); } final String[] VERSION_STRING = Console.class.getPackage().getImplementationVersion().split("\\|"); System.out.println("The Fabled Reforger (" + VERSION_STRING[0] + ")"); System.out.println("Built: " + VERSION_STRING[1]); Reforger reforger = new Reforger(args[0], args[1]); reforger.run(); } private Console() { } }