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