Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BraillePlot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Georg Graßnick
BraillePlot
Commits
c7a30c96
Commit
c7a30c96
authored
5 years ago
by
Leonard Kupper
Browse files
Options
Downloads
Patches
Plain Diff
Set parameter requirements.
parent
6a3042e0
No related branches found
No related tags found
1 merge request
!39
App restructuring
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/tudresden/inf/mci/brailleplot/commandline/CommandLineParser.java
+6
-6
6 additions, 6 deletions
...en/inf/mci/brailleplot/commandline/CommandLineParser.java
with
6 additions
and
6 deletions
src/main/java/de/tudresden/inf/mci/brailleplot/commandline/CommandLineParser.java
+
6
−
6
View file @
c7a30c96
...
@@ -22,13 +22,13 @@ public class CommandLineParser {
...
@@ -22,13 +22,13 @@ public class CommandLineParser {
private
void
setupOptions
()
{
private
void
setupOptions
()
{
mOptions
=
new
Options
();
mOptions
=
new
Options
();
mOptions
.
addOption
(
"h"
,
SettingType
.
DISPLAY_HELP
.
toString
(),
false
,
"Print help and exit"
)
mOptions
.
addOption
(
"h"
,
SettingType
.
DISPLAY_HELP
.
toString
(),
false
,
"Print help and exit"
)
.
addOption
(
"c"
,
SettingType
.
CSV_LOCATION
.
toString
(),
true
,
"Path to CSV"
)
.
add
Required
Option
(
"c"
,
SettingType
.
CSV_LOCATION
.
toString
(),
true
,
"Path to CSV"
)
.
addOption
(
"s"
,
SettingType
.
SEMANTIC_MAPPING
.
toString
(),
true
,
"Literal for semantic mapping"
)
.
addOption
(
"s"
,
SettingType
.
SEMANTIC_MAPPING
.
toString
(),
true
,
"Literal for semantic mapping"
)
.
addOption
(
"p"
,
SettingType
.
PRINTER_CONFIG_PATH
.
toString
(),
true
,
"Path to printer configuration file"
)
.
add
Required
Option
(
"p"
,
SettingType
.
PRINTER_CONFIG_PATH
.
toString
(),
true
,
"Path to printer configuration file"
)
.
addOption
(
"t"
,
SettingType
.
DIAGRAM_TITLE
.
toString
(),
true
,
"Title of the diagram"
)
.
add
Required
Option
(
"t"
,
SettingType
.
DIAGRAM_TITLE
.
toString
(),
true
,
"Title of the diagram"
)
.
addOption
(
"x"
,
SettingType
.
X_AXIS_LABEL
.
toString
(),
true
,
"Label of X-axis including unit"
)
.
add
Required
Option
(
"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"
)
.
add
Required
Option
(
"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]"
)
.
add
Required
Option
(
"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
(
"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)"
);
.
addOption
(
"v"
,
SettingType
.
VERTICAL
.
toString
(),
false
,
"Parse CSV in vertical instead of horizontal orientation (Only applicable for BarChart)"
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment