private static void configureConnect(HL7Pix hl7pix, CommandLine cl)
throws MissingOptionException, ParseException {
String appAtHostPort = cl.getOptionValue("c");
if (appAtHostPort == null)
throw new MissingOptionException(
CLIUtils.rb.getString("missing-connect-opt"));
String[] appHostPort = HL7Segment.split(appAtHostPort , '@');
if (appHostPort.length != 2)
throw new ParseException(CLIUtils.rb.getString("invalid-connect-opt"));