diff options
| author | Andi Albrecht <albrecht.andi@gmail.com> | 2016-06-03 19:13:02 +0200 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2016-06-03 19:13:02 +0200 |
| commit | 12d9aee564f1091257749086fd8b49538f698be9 (patch) | |
| tree | a1ab1aec76942ce0bc266583c6a8aff642889927 /bin/sqlformat | |
| parent | 88a9dafe00e996f0b832849414f483f5116b52d9 (diff) | |
| parent | 9b84aac37a4099f4788508f98b7b1ed3010c424e (diff) | |
| download | sqlparse-12d9aee564f1091257749086fd8b49538f698be9.tar.gz | |
Merge pull request #248 from fimmtiu/add-wrap-after-option
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 |
