summaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2016-06-03 19:13:02 +0200
committerAndi Albrecht <albrecht.andi@gmail.com>2016-06-03 19:13:02 +0200
commit12d9aee564f1091257749086fd8b49538f698be9 (patch)
treea1ab1aec76942ce0bc266583c6a8aff642889927 /docs/source
parent88a9dafe00e996f0b832849414f483f5116b52d9 (diff)
parent9b84aac37a4099f4788508f98b7b1ed3010c424e (diff)
downloadsqlparse-12d9aee564f1091257749086fd8b49538f698be9.tar.gz
Merge pull request #248 from fimmtiu/add-wrap-after-option
Add --wrap_after option for wrapping identifier lists.
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/api.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/source/api.rst b/docs/source/api.rst
index 518a428..e9fcdaa 100644
--- a/docs/source/api.rst
+++ b/docs/source/api.rst
@@ -52,6 +52,10 @@ The :meth:`~sqlparse.format` function accepts the following keyword arguments.
``indent_width``
The width of the indentation, defaults to 2.
+``wrap_after``
+ The column limit for wrapping comma-separated lists. If unspecified, it
+ puts every item in the list on its own line.
+
``output_format``
If given the output is additionally formatted to be used as a variable
in a programming language. Allowed values are "python" and "php".