else if ("--create-files".equals(p) || "-f".equals(p)) config.fileout = true;
   static Config parseParams(String[] args)   {      Config config = new Config();      for (String p: args) {         if ("--system".equals(p) || "-y".equals(p))             config.bus = DBusConnection.SYSTEM;         else if ("--session".equals(p) || "-s".equals(p))             config.bus = DBusConnection.SESSION;         else if ("--print-tree".equals(p) || "-p".equals(p))             config.printtree = true;         else if ("--help".equals(p) || "-h".equals(p)) {            printSyntax(System.out);            System.exit(0);         } else if (p.startsWith("-")) {            System.err.println("ERROR: Unknown option: "+p);            printSyntax();            System.exit(1);         }         else {            if (null == config.service) config.service = p;            else if (null == config.object) config.object = p;            else {               printSyntax();               System.exit(1);            }         }      }      if (null == config.service) {         printSyntax();         System.exit(1);      }      else if (null == config.object) {         config.datafile = new File(config.service);         config.service = null;      }      return config;   }