From 3ea4c7eadc02b2e4c223af355edee8216d0ccdd5 Mon Sep 17 00:00:00 2001 From: xg1990 Date: Mon, 28 Oct 2019 10:58:46 +1100 Subject: put available format options into API doc --- docs/source/api.rst | 6 ++++++ 1 file changed, 6 insertions(+) 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. -- cgit v1.2.1