code: public static void main (String[] args)
      {
          if (args.length <= 1) {
              System.err.println("Usage: I18nSyncTask rootDir rootDir/com/mypackage/Foo.properties " +
                                 "[.../Bar.properties ...]");
              System.exit(255);
          }
  
          File rootDir = new File(args[0]);
          if (!rootDir.isDirectory()) {
              System.err.println("Invalid root directory: " + rootDir);
              System.exit(255);
          }
  
          I18nSync tool = new I18nSync();
          boolean errors = false;
          for (int ii = 1; ii < args.length; ii++) {
              try {
                  tool.process(rootDir, new File(args[ii]));
              } catch (IOException ioe) {
                  System.err.println("Error processing '" + args[ii] + "': " + ioe);
                  errors = true;
              }
          }
          System.exit(errors ? 255 : 0);
      }
docs: Entry point for command line tool.