Commit 33071b87 authored by Georg Graßnick's avatar Georg Graßnick 🤔

Fix application name

parent 5029569b
......@@ -59,6 +59,8 @@ import java.util.concurrent.ConcurrentLinkedDeque;
public final class App {
public static final String APP_NAME = "BraillePlot";
/**
* Main method.
* Instantiate application and execute it.
......
package de.tudresden.inf.mci.brailleplot.commandline;
import de.tudresden.inf.mci.brailleplot.App;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.DefaultParser;
import org.apache.commons.cli.HelpFormatter;
......@@ -97,6 +98,6 @@ public class CommandLineParser {
String headerForOptions = "Convert csv into braille";
String footerForOptions = ""; // TODO: Add footer with version and official contact.
formatter.printHelp("braillegraphics", headerForOptions, mOptions, footerForOptions, true);
formatter.printHelp(App.APP_NAME, headerForOptions, mOptions, footerForOptions, true);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment