Update to SQL Parser 4.1.9
[php-sqllint.git] / README.rst
index ef9e165cb882a93c83bacc4b49c55db22daf30e4..69b6046f854ae87b309906baf8baab756573c727 100644 (file)
@@ -44,7 +44,20 @@ Formatting::
     ORDER BY NAME
     LIMIT 10
 
-You can enable ANSI coloring by passing the ``--colors`` option.
+
+Syntax highlighting
+===================
+ANSI colors are applied automatically when not piping; you can use the
+``--highlight`` option to override the automatism.
+
+``--highlight`` option values:
+
+``none``
+  No highlighting. Use it to disable automatic highlighting
+``ansi``
+  ANSI escape codes for your shell
+``html``
+  HTML tags
 
 
 ====
@@ -52,20 +65,31 @@ Bugs
 ====
 Does ``php-sqllint`` not detect a syntax error, or doesn't support a certain
 SQL statement?
-Then please report a bug at `udan11/sql-parser`__.
+Then please report a bug at `phpmyadmin/sql-parser`__.
+
+__ https://github.com/phpmyadmin/sql-parser
 
-__ https://github.com/udan11/sql-parser
+
+========
+Download
+========
+The download files are equipped with all dependencies.
+Just download and run.
+
+.. LATESTRELEASE
+
+See `php-sqllint downloads page <http://cweiske.de/php-sqllint-download.htm>`_
+for all released versions.
 
 
 ============
 Dependencies
 ============
 - PEAR's `Console_Commandline`__
-- `udan11's SqlParser`__, which is used by `phpMyAdmin`__
+- `phpMyAdmin's SqlParser`__
 
 __ http://pear.php.net/package/Console_CommandLine
-__ https://github.com/udan11/sql-parser
-__ https://www.phpmyadmin.net/
+__ https://github.com/phpmyadmin/sql-parser
 
 
 Dependency installation
@@ -80,6 +104,14 @@ Now you can use ``./bin/php-sqllint`` without building the phar yourself.
 ========
 Building
 ========
+
+Preparation
+===========
+1. Write new version number into ``VERSION``
+
+
+Create the release
+==================
 You'll need `phing`__, the PHP build tool::
 
     $ phing
@@ -116,4 +148,6 @@ Source code
 
 Author
 ======
-Written by Christian Weiske, cweiske@cweiske.de
+Written by `Christian Weiske`__, cweiske+php-sqllint@cweiske.de
+
+__ http://cweiske.de/