summaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorxg1990 <xg1990@localhost>2019-10-28 10:58:46 +1100
committerAndi Albrecht <albrecht.andi@gmail.com>2020-02-02 21:25:55 +0100
commit3ea4c7eadc02b2e4c223af355edee8216d0ccdd5 (patch)
treeaf2bfab849c7b80451a4a235c8cd81cc927a339a /docs/source
parent418b04f7e503a57757a3a4ad338e694e02283dd7 (diff)
downloadsqlparse-3ea4c7eadc02b2e4c223af355edee8216d0ccdd5.tar.gz
put available format options into API doc
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/api.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/source/api.rst b/docs/source/api.rst
index c16af82..a98353f 100644
--- a/docs/source/api.rst
+++ b/docs/source/api.rst
@@ -46,6 +46,12 @@ The :meth:`~sqlparse.format` function accepts the following keyword arguments.
``reindent``
If ``True`` the indentations of the statements are changed.
+``reindent_aligned``
+ If ``True`` the indentations of the statements are changed, and statements are aligned by keywords.
+
+``use_space_around_operators``
+ If ``True`` spaces are used around all operators.
+
``indent_tabs``
If ``True`` tabs instead of spaces are used for indentation.