Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
44ea66b0
Commit
44ea66b0
authored
Apr 16, 2026
by
Luna Riegel
Browse files
Fix: Add db args parsing to GUI CLI command
parent
c2329310
Pipeline
#12388
passed with stage
in 2 minutes and 4 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/CityDoctorValidation.java
View file @
44ea66b0
...
...
@@ -96,7 +96,7 @@ public class CityDoctorValidation {
return
outputFile
;
}
p
rivate
static
void
lookForDbConfigFileParameter
(
ArgumentParser
argParser
)
{
p
ublic
static
void
lookForDbConfigFileParameter
(
ArgumentParser
argParser
)
{
if
(!
argParser
.
containsOption
(
"db_config"
))
{
return
;
}
...
...
@@ -108,7 +108,7 @@ public class CityDoctorValidation {
}
}
p
rivate
static
void
lookForDbLocationParameter
(
ArgumentParser
argParser
)
{
p
ublic
static
void
lookForDbLocationParameter
(
ArgumentParser
argParser
)
{
if
(!
argParser
.
containsOption
(
"db_location"
))
{
return
;
}
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/MainWindow.java
View file @
44ea66b0
...
...
@@ -278,6 +278,8 @@ public class MainWindow extends Application {
System
.
exit
(
4
);
}
}
CityDoctorValidation
.
lookForDbConfigFileParameter
(
argParser
);
CityDoctorValidation
.
lookForDbLocationParameter
(
argParser
);
Application
.
launch
(
args
);
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment