diff options
author | Andi Albrecht <albrecht.andi@gmail.com> | 2018-03-21 19:33:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-21 19:33:01 +0100 |
commit | 396f19d00fa20a8fc891ab9351bee64b334aac3a (patch) | |
tree | dc8e82a7cd831dd038a66a3138eaf8886776896e /sqlparse/cli.py | |
parent | 9bb8722a66fe19547ea20b3896cbc3088cb0b0ab (diff) | |
parent | ec0af031e646251b91c15761012ede966d455358 (diff) | |
download | sqlparse-396f19d00fa20a8fc891ab9351bee64b334aac3a.tar.gz |
Merge pull request #393 from digitalarbeiter/indent_identifiers
Option: indent all identifiers, including the first one, by width
Diffstat (limited to 'sqlparse/cli.py')
-rwxr-xr-x | sqlparse/cli.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sqlparse/cli.py b/sqlparse/cli.py index f7a3728..14e644b 100755 --- a/sqlparse/cli.py +++ b/sqlparse/cli.py @@ -109,6 +109,13 @@ def create_parser(): 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', default=False, |