From ec0af031e646251b91c15761012ede966d455358 Mon Sep 17 00:00:00 2001 From: Patrick Schemitz Date: Sat, 3 Mar 2018 15:30:07 +0100 Subject: new option --indent_columns to indent all columns by --indent_width --- sqlparse/cli.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sqlparse/cli.py') diff --git a/sqlparse/cli.py b/sqlparse/cli.py index f7a3728..14e644b 100755 --- a/sqlparse/cli.py +++ b/sqlparse/cli.py @@ -108,6 +108,13 @@ def create_parser(): default=False, help='indent after first line of statement (e.g. SELECT)') + group.add_argument( + '--indent_columns', + dest='indent_columns', + action='store_true', + default=False, + help='indent all columns by indent_width instead of keyword length') + group.add_argument( '-a', '--reindent_aligned', action='store_true', -- cgit v1.2.1