From 9b84aac37a4099f4788508f98b7b1ed3010c424e Mon Sep 17 00:00:00 2001 From: Dennis Taylor Date: Thu, 2 Jun 2016 15:28:27 -0700 Subject: Add --wrap_after option for wrapping identifier lists. --- bin/sqlformat | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/sqlformat') 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 -- cgit v1.2.1