File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/main/scala/de/upb/cs/swt/delphi/cli Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,9 @@ object DelphiCLI {
3333
3434 val trustStorePath = getEnvOrElse(" JAVA_TRUSTSTORE" , " /usr/lib/jvm/default-java/lib/security/cacerts" )
3535
36- System .setProperty(" java.library.path" , javaLibPath)
37- System .setProperty(" javax.net.ssl.trustStore" , trustStorePath)
36+ // This only is allowed to be set for GraalVM compiles...
37+ // System.setProperty("java.library.path", javaLibPath)
38+ // System.setProperty("javax.net.ssl.trustStore", trustStorePath)
3839
3940 cliParser.parse(args, Config ()) match {
4041 case Some (c) =>
@@ -43,12 +44,13 @@ object DelphiCLI {
4344 implicit val config : Config = c
4445 implicit val backend : SttpBackend [Id , Nothing ] = HttpURLConnectionBackend ()
4546
46- if (! config.silent) cliParser.showHeader()
47+ if (! config.silent && config.mode != " " ) cliParser.showHeader()
4748
4849 config.mode match {
4950 case " test" => TestCommand .execute
5051 case " retrieve" => RetrieveCommand .execute
5152 case " search" => SearchCommand .execute
53+ case " " => cliParser.showUsage()
5254 case x => config.consoleOutput.outputError(s " Unknown command: $x" )
5355 }
5456
You can’t perform that action at this time.
0 commit comments