summaryrefslogtreecommitdiff
path: root/sqlparse/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'sqlparse/cli.py')
-rwxr-xr-xsqlparse/cli.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/sqlparse/cli.py b/sqlparse/cli.py
index 9479dd1..bd2e1b8 100755
--- a/sqlparse/cli.py
+++ b/sqlparse/cli.py
@@ -118,6 +118,13 @@ def create_parser():
type=int,
help='Column after which lists should be wrapped')
+ group.add_argument(
+ '--comma_first',
+ dest='comma_first',
+ default=False,
+ type=bool,
+ help='Insert linebreak before comma (default False)')
+
return parser