<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,21 +1,22 @@
 &lt;?php
 
 function help() {
-	echo &quot;Optimize a single image or a whole folder in the cloud.\n&quot;;
-	echo &quot;\n&quot;;
-	echo &quot;gif's:\n&quot;;
-	echo &quot;  - called with a folder gif`s will not be optimized\n&quot;;
-	echo &quot;  - called on a singe .gif, it will be optimized if it is optimizeable\n&quot;;
+	echo &quot;Compiles a single javascript file or a whole folder in the cloud.\n&quot;;
 	echo &quot;\n&quot;;
 	echo &quot;Usage:\n&quot;;
-	echo &quot;  php smusher.php /images [options]\n&quot;;
-	echo &quot;  php smusher.php /images/x.png [options]\n&quot;;
+	echo &quot;  php compile.php /javascripts [options]\n&quot;;
+	echo &quot;  php compile.php /javascripts/myfile.js [options]\n&quot;;
 	echo &quot;\n&quot;;
 	echo &quot;Options are:\n&quot;;
 	echo str_pad(&quot;  -q, --quiet&quot;, 26, &quot; &quot;) . &quot;no output\n&quot;;
-	echo str_pad(&quot;  -c, --convert-gifs&quot;, 26, &quot; &quot;) . &quot;convert all .gif's in the given folder\n&quot;;
-	echo str_pad(&quot;  -pc, --pretend&quot;, 26, &quot; &quot;) . &quot;no changes are made\n&quot;;
+	echo str_pad(&quot;  -p, --pretend&quot;, 26, &quot; &quot;) . &quot;no changes are made\n&quot;;
 	echo str_pad(&quot;  -r, --recursive&quot;, 26, &quot; &quot;) . &quot;execute the action on all subdirectories\n&quot;;
+	echo str_pad(&quot;  -w, --supress_warnings&quot;, 26, &quot; &quot;) . &quot;don't show compilation warnings\n&quot;;
+	echo str_pad(&quot;  -l, --compilation_level&quot;, 26, &quot; &quot;) . &quot;compilation level\n&quot;;
+	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;  -h, --help&quot;, 26, &quot; &quot;) . &quot;show this\n&quot;;
 
 	exit;
@@ -39,7 +40,7 @@ foreach ($arguments as $arg) {
 
 	switch ($arg) {
 		case '--supress_warnings':
-		case '-nw':
+		case '-w':
 			$options[] = 'supress_warnings';
 			break;
 </diff>
      <filename>compile.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5d7030afa6dfe6f6c8a780841da142e7c3c6f956</id>
    </parent>
  </parents>
  <author>
    <name>ecentinela</name>
    <email>ecentinela@gmail.com</email>
  </author>
  <url>http://github.com/ecentinela/compiler/commit/fe495613645a77309cbb208297066afb49659192</url>
  <id>fe495613645a77309cbb208297066afb49659192</id>
  <committed-date>2009-11-09T02:14:20-08:00</committed-date>
  <authored-date>2009-11-09T02:14:20-08:00</authored-date>
  <message>fixed documentation</message>
  <tree>2a93dc6db45f9307e68cb3c4f93182bdab404880</tree>
  <committer>
    <name>ecentinela</name>
    <email>ecentinela@gmail.com</email>
  </committer>
</commit>
