diff options
| author | Dennis Taylor <dennis.taylor@clio.com> | 2016-06-02 15:28:27 -0700 |
|---|---|---|
| committer | Dennis Taylor <dennis.taylor@clio.com> | 2016-06-02 15:28:27 -0700 |
| commit | 9b84aac37a4099f4788508f98b7b1ed3010c424e (patch) | |
| tree | 44c100cccbc104d1598cedc9c20baa664cb1abd7 /bin/sqlformat | |
| parent | a767c88b008d407d91b9118d124e2a9b579a7f12 (diff) | |
| download | sqlparse-9b84aac37a4099f4788508f98b7b1ed3010c424e.tar.gz | |
Add --wrap_after option for wrapping identifier lists.
Diffstat (limited to 'bin/sqlformat')
| -rwxr-xr-x | bin/sqlformat | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/sqlformat b/bin/sqlformat index cecbed9..234393f 100755 --- a/bin/sqlformat +++ b/bin/sqlformat @@ -44,6 +44,8 @@ group.add_option('-r', '--reindent', dest='reindent', help='reindent statements') group.add_option('--indent_width', dest='indent_width', default=2, help='indentation width (defaults to 2 spaces)') +group.add_option('--wrap_after', dest='wrap_after', default=0, + help='Column after which lists should be wrapped') _FORMATTING_GROUP = group |
