diff --git a/src/main/java/de/tudresden/inf/mci/brailleplot/commandline/CommandLineParser.java b/src/main/java/de/tudresden/inf/mci/brailleplot/commandline/CommandLineParser.java index 5a7086af0c293e38c2b58fac9f9565a54e914370..a6f5c836c2e87cfb294e993e9c6802e32434c4da 100644 --- a/src/main/java/de/tudresden/inf/mci/brailleplot/commandline/CommandLineParser.java +++ b/src/main/java/de/tudresden/inf/mci/brailleplot/commandline/CommandLineParser.java @@ -22,13 +22,13 @@ public class CommandLineParser { private void setupOptions() { mOptions = new Options(); mOptions.addOption("h", SettingType.DISPLAY_HELP.toString(), false, "Print help and exit") - .addOption("c", SettingType.CSV_LOCATION.toString(), true, "Path to CSV") + .addRequiredOption("c", SettingType.CSV_LOCATION.toString(), true, "Path to CSV") .addOption("s", SettingType.SEMANTIC_MAPPING.toString(), true, "Literal for semantic mapping") - .addOption("p", SettingType.PRINTER_CONFIG_PATH.toString(), true, "Path to printer configuration file") - .addOption("t", SettingType.DIAGRAM_TITLE.toString(), true, "Title of the diagram") - .addOption("x", SettingType.X_AXIS_LABEL.toString(), true, "Label of X-axis including unit") - .addOption("y", SettingType.Y_AXIS_LABEL.toString(), true, "Label of Y-axis including unit") - .addOption("d", SettingType.DIAGRAM_TYPE.toString(), true, "Type of the diagram. Possible Values: [ScatterPlot, LineChart, BarChart]") + .addRequiredOption("p", SettingType.PRINTER_CONFIG_PATH.toString(), true, "Path to printer configuration file") + .addRequiredOption("t", SettingType.DIAGRAM_TITLE.toString(), true, "Title of the diagram") + .addRequiredOption("x", SettingType.X_AXIS_LABEL.toString(), true, "Label of X-axis including unit") + .addRequiredOption("y", SettingType.Y_AXIS_LABEL.toString(), true, "Label of Y-axis including unit") + .addRequiredOption("d", SettingType.DIAGRAM_TYPE.toString(), true, "Type of the diagram. Possible Values: [ScatterPlot, LineChart, BarChart]") .addOption("f", SettingType.FORMAT.toString(), true, "Name of predefined format from configuration") .addOption("v", SettingType.VERTICAL.toString(), false, "Parse CSV in vertical instead of horizontal orientation (Only applicable for BarChart)"); }