code: private int showConfig(String cmd, String argv[], int startindex)
        throws IOException {
      int exitCode = 0;
      PolicyInfo[] all = raidnode.getAllPolicies();
      for (PolicyInfo p: all) {
        out.println(p);
      }
      return exitCode;
    }
docs: Apply operation specified by 'cmd' on all parameters
  starting from argv[startindex].