<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -16,7 +16,7 @@ function help() {
 	echo str_repeat(&quot; &quot;, 26) . &quot;WHITESPACE_ONLY\n&quot;;
 	echo str_repeat(&quot; &quot;, 26) . &quot;SIMPLE_OPTIMIZATIONS (default)\n&quot;;
 	echo str_repeat(&quot; &quot;, 26) . &quot;ADVANCED_OPTIMIZATIONS\n&quot;;
-	echo str_pad(&quot;  -j, --join&quot;, 26, &quot; &quot;) . &quot;if folder is given js files are joined in all.min.js\n&quot;;
+	echo str_pad(&quot;  -c, --combine&quot;, 26, &quot; &quot;) . &quot;if folder is given js files are combined in all.min.js\n&quot;;
 	echo str_pad(&quot;  -h, --help&quot;, 26, &quot; &quot;) . &quot;show this\n&quot;;
 
 	exit;
@@ -44,9 +44,9 @@ foreach ($arguments as $arg) {
 			$options[] = 'supress_warnings';
 			break;
 
-		case '--join':
-		case '-j':
-			$options[] = 'join';
+		case '--combine':
+		case '-c':
+			$options[] = 'combine';
 			break;
 
 		case '--quiet':</diff>
      <filename>compile.php</filename>
    </modified>
    <modified>
      <diff>@@ -10,7 +10,7 @@ Class compiler {
 		$quiet = in_array('quiet', $options);
 		$pretend = in_array('pretend', $options);
 		$recursive = in_array('recursive', $options);
-		$join = in_array('join', $options);
+		$combine = in_array('combine', $options);
 		$supress_warnings = in_array('supress_warnings', $options);
 		$compilation_level = in_array('compilation_level', $options) ? $options['compilation_level'] : 'SIMPLE_OPTIMIZATIONS';
 
@@ -25,7 +25,7 @@ Class compiler {
 
 		// is the path is a folder, we get all javascript files on these folder
 		if (is_dir($path))
-			self::folder($curl, $path, $quiet, $pretend, $recursive, $join, $supress_warnings, $compilation_level);
+			self::folder($curl, $path, $quiet, $pretend, $recursive, $combine, $supress_warnings, $compilation_level);
 		else
 			self::file($curl, $path, $quiet, $pretend, $supress_warnings, $compilation_level);
 
@@ -33,7 +33,7 @@ Class compiler {
 		curl_close($curl);
 	}
 
-	private static function folder($curl, $folder_path, $quiet, $pretend, $recursive, $join, $supress_warnings, $compilation_level) {
+	private static function folder($curl, $folder_path, $quiet, $pretend, $recursive, $combine, $supress_warnings, $compilation_level) {
 		// loop through all files on the folder to get javascript files
 		$it = new DirectoryIterator($folder_path);
 
@@ -45,7 +45,7 @@ Class compiler {
 				// if it's a folder, scan it too
 				if ($file-&gt;isDir()) {
 					if ($recursive)
-						self::folder($curl, $path, $quiet, $pretend, $recursive, $join, $supress_warnings, $compilation_level);
+						self::folder($curl, $path, $quiet, $pretend, $recursive, $combine, $supress_warnings, $compilation_level);
 				}
 				elseif (preg_match('/(?&lt;!\.min)\.js$/i', $path))
 					$files[] = $path;
@@ -53,7 +53,7 @@ Class compiler {
 
 		if (count($files) &gt; 0)
 			// combine the files before sending the code to google
-			if ($join) {
+			if ($combine) {
 				foreach ($files as $path)
 					$code[] = file_get_contents($path);
 </diff>
      <filename>compiler.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>82b4413cb96261087441b7355e6833826d970118</id>
    </parent>
  </parents>
  <author>
    <name>ecentinela</name>
    <email>ecentinela@gmail.com</email>
  </author>
  <url>http://github.com/ecentinela/compiler/commit/fd44b9f4463f055210a4e2c655c7bbee1e35aa9f</url>
  <id>fd44b9f4463f055210a4e2c655c7bbee1e35aa9f</id>
  <committed-date>2009-11-09T02:52:03-08:00</committed-date>
  <authored-date>2009-11-09T02:52:03-08:00</authored-date>
  <message>changed the option -j --join to -c --combine</message>
  <tree>aa770b615452ab8d5c156ee5ff03b8c6c2c19fff</tree>
  <committer>
    <name>ecentinela</name>
    <email>ecentinela@gmail.com</email>
  </committer>
</commit>
