code: private void loadParameters(String[] args)
      {
          for (int i = 0; (i < args.length) && args[i].startsWith("-"); i++)
          {
              String parameterName = args[i];
              if (parameterName.equalsIgnoreCase("-key"))
                  privateKeyFile = new File(args[++i]);
              else if (parameterName.equalsIgnoreCase("-cert"))
                  certFile = new File(args[++i]);
          else if (parameterName.equalsIgnoreCase("-keystore"))
                  keyStoreFile = new File(args[++i]);
              else if (parameterName.equalsIgnoreCase("-storetype"))
                  keyStoreType = args[++i];
              else if (parameterName.equalsIgnoreCase("-alias"))
                  alias = args[++i];
              else if (parameterName.equalsIgnoreCase("-provider"))
                  providerClassName = args[++i];
              else
              {
                  System.err.println("Illegal parameter: " + parameterName);
                  usage();
              }
          }
  
          // Check that mandatory fields have been populated
          if (privateKeyFile == null || certFile == null)
          {
              usage();
          }
  
          keyStorePassword = Password.getPassword("jetty.ssl.password",null,null);
          keyPassword = Password.getPassword("jetty.ssl.keypassword",
                                             null,
                                             keyStorePassword.toString());
      }
docs: Load parameters from the given args and check usage.
  Will exit on usage errors.
  <p> Class variables are populated from the command line arguments
  @param args Array of Strings from the command line.