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 0b5c204..0f66d90 100755
--- a/sqlparse/cli.py
+++ b/sqlparse/cli.py
@@ -102,6 +102,13 @@ def create_parser():
help='indentation width (defaults to 2 spaces)')
group.add_argument(
+ '--indent_after_first',
+ dest='indent_after_first',
+ action='store_true',
+ default=False,
+ help='indent after first line of statement (e.g. SELECT)')
+
+ group.add_argument(
'-a', '--reindent_aligned',
action='store_true',
default=False,