Prevent empty or formatted strings from being parsed as a number.
[rhynodge.git] / src / main / java / net / pterodactylus / rhynodge / engine / Starter.java
index a5d79ac..4c3b4db 100644 (file)
@@ -50,9 +50,6 @@ public class Starter {
                /* start a watcher. */
                ChainWatcher chainWatcher = new ChainWatcher(engine, parameters.getChainDirectory());
                chainWatcher.start();
-
-               /* start the engine. */
-               engine.start();
        }
 
        /**
@@ -67,7 +64,7 @@ public class Starter {
                 *
                 * @return The chain directory
                 */
-               @Option(defaultValue = "chains", shortName = "c", description = "The directory to watch for chains")
+               @Option(defaultValue = "chains", longName = "chains", shortName = "c", description = "The directory to watch for chains")
                String getChainDirectory();
 
                /**
@@ -75,7 +72,7 @@ public class Starter {
                 *
                 * @return The states directory
                 */
-               @Option(defaultValue = "states", shortName = "s", description = "The directory to store states in")
+               @Option(defaultValue = "states", longName = "states", shortName = "s", description = "The directory to store states in")
                String getStateDirectory();
 
        }