Skip to content

Commit ec0af03

Browse files
author
Patrick Schemitz
committed
new option --indent_columns to indent all columns by --indent_width
1 parent 6dac1d9 commit ec0af03

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sqlparse/cli.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,13 @@ def create_parser():
108108
default=False,
109109
help='indent after first line of statement (e.g. SELECT)')
110110

111+
group.add_argument(
112+
'--indent_columns',
113+
dest='indent_columns',
114+
action='store_true',
115+
default=False,
116+
help='indent all columns by indent_width instead of keyword length')
117+
111118
group.add_argument(
112119
'-a', '--reindent_aligned',
113120
action='store_true',

0 commit comments

Comments
 (0)