Source:
<code>public CommandResult exec(ContextAwareCommandInvocation invocation) { if (help) { invocation.println(invocation.getHelpInfo()); return CommandResult.SUCCESS; } if (version) { invocation.printf("%s CLI %s\n", org.infinispan.commons.util.Version.getBrandName(), org.infinispan.commons.util.Version.getVersion()); invocation.printf("Copyright (C) Red Hat Inc. and/or its affiliates and other contributors\n"); invocation.printf("License Apache License, v. 2.0. <LINK_0>\n"); } context = invocation.getContext(); if (truststore != null) { try (FileInputStream f = new FileInputStream(truststore.getAbsolutePath())) { KeyStore keyStore = KeyStoreUtil.loadKeyStore(ProviderUtil.INSTALLED_PROVIDERS, null, f, truststore.getAbsolutePath(), truststorePassword.toCharArray()); TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm()); <START> trustManagerFactory.init(keyStore); <END> SSLContextSettings sslContext = SSLContextSettings.getInstance("TLS", null, trustManagerFactory.getTrustManagers(), null, null); context.setSslContext(sslContext); } catch (Exception e) { invocation.getShell().writeln(MSG.keyStoreError(truststore.getAbsolutePath(), e)); return CommandResult.FAILURE; } } else if (trustAll) { SSLContextSettings sslContext = SSLContextSettings.getInstance("TLS", null, new TrustManager[]{new ZeroSecurityTrustManager()}, null, new ZeroSecurityHostnameVerifier()); context.setSslContext(sslContext); } if (connect != null) { context.connect(null, connect); } if (file != null) { return batch(file.getAbsolutePath(), invocation.getShell()); } else { return interactive(invocation.getShell()); } }</code><technical_language>is this supposed continue executing showing version</technical_language>

Target:
public CommandResult exec(ContextAwareCommandInvocation invocation) { if (help) { invocation.println(invocation.getHelpInfo()); return CommandResult.SUCCESS; } if (version) { invocation.printf("%s CLI %s\n", org.infinispan.commons.util.Version.getBrandName(), org.infinispan.commons.util.Version.getBrandVersion()); invocation.printf("Copyright (C) Red Hat Inc. and/or its affiliates and other contributors\n"); invocation.printf("License Apache License, v. 2.0. <LINK_0>\n"); return CommandResult.SUCCESS; } context = invocation.getContext(); if (truststore != null) { try (FileInputStream f = new FileInputStream(truststore.getAbsolutePath())) { KeyStore keyStore = KeyStoreUtil.loadKeyStore(ProviderUtil.INSTALLED_PROVIDERS, null, f, truststore.getAbsolutePath(), truststorePassword.toCharArray()); TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm()); trustManagerFactory.init(keyStore); SSLContextSettings sslContext = SSLContextSettings.getInstance("TLS", null, trustManagerFactory.getTrustManagers(), null, null); context.setSslContext(sslContext); } catch (Exception e) { invocation.getShell().writeln(MSG.keyStoreError(truststore.getAbsolutePath(), e)); return CommandResult.FAILURE; } } else if (trustAll) { SSLContextSettings sslContext = SSLContextSettings.getInstance("TLS", null, new TrustManager[]{new ZeroSecurityTrustManager()}, null, new ZeroSecurityHostnameVerifier()); context.setSslContext(sslContext); } if (connect != null) { context.connect(null, connect); } if (file != null) { return batch(file.getAbsolutePath(), invocation.getShell()); } else { return interactive(invocation.getShell()); } }