Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
EMAM2Cpp
Commits
d9b8f32d
Commit
d9b8f32d
authored
May 23, 2019
by
Alexander David Hellwig
Browse files
Fix return code if arguments can not be parsed
parent
4f3eaba7
Pipeline
#143251
passed with stages
in 33 minutes and 19 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pom.xml
View file @
d9b8f32d
...
...
@@ -30,7 +30,7 @@
<groupId>
de.monticore.lang.monticar
</groupId>
<artifactId>
embedded-montiarc-math-generator
</artifactId>
<version>
0.1.1
0
</version>
<version>
0.1.1
1-SNAPSHOT
</version>
<!-- == PROJECT DEPENDENCIES ============================================= -->
...
...
src/main/java/de/monticore/lang/monticar/generator/cpp/GeneratorCppCli.java
View file @
d9b8f32d
...
...
@@ -145,6 +145,9 @@ public final class GeneratorCppCli {
CommandLine
cliArgs
=
parseArgs
(
options
,
parser
,
args
);
if
(
cliArgs
!=
null
)
{
runGenerator
(
cliArgs
);
}
else
{
Log
.
error
(
"Error parsing cli arguments!"
);
System
.
exit
(
1
);
}
}
...
...
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