From 9b84aac37a4099f4788508f98b7b1ed3010c424e Mon Sep 17 00:00:00 2001 From: Dennis Taylor Date: Thu, 2 Jun 2016 15:28:27 -0700 Subject: Add --wrap_after option for wrapping identifier lists. --- docs/source/api.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/source') 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". -- cgit v1.2.1