summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTimothy Edmund Crosley <timothy.crosley@gmail.com>2013-10-20 14:03:57 -0700
committerTimothy Edmund Crosley <timothy.crosley@gmail.com>2013-10-20 14:03:57 -0700
commit20cbf0a4b778602f839593595f600ba635c7f138 (patch)
treeeacf087efe66a105251e2a1606478a9e3b92ceaa /scripts
parent6e37559e54d112d94d7ecb7a71ca5786cb3e2269 (diff)
parent245023a913805a6f9f5583c79bec27557e7d7cd2 (diff)
downloadisort-20cbf0a4b778602f839593595f600ba635c7f138.tar.gz
Merge pull request #52 from timothycrosley/feature/fix-issue-50
Fix issue #50: Add support for vertical grid display mode, improve how e...
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/isort5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/isort b/scripts/isort
index 3be42105..916b0cad 100755
--- a/scripts/isort
+++ b/scripts/isort
@@ -23,8 +23,9 @@ parser.add_argument('-o', '--thirdparty', dest='known_third_party', action='appe
help='Force sortImports to recognize a module as being part of a third party library.')
parser.add_argument('-p', '--project', dest='known_first_party', action='append',
help='Force sortImports to recognize a module as being part of the current python project.')
-parser.add_argument('-m', '--multi_line', help='Multi line output (0-grid, 1-vertical, 2-hanging, 3-vert-hanging).',
- dest='multi_line_output', type=int, choices=[0, 1, 2, 3])
+parser.add_argument('-m', '--multi_line', dest='multi_line_output', type=int, choices=[0, 1, 2, 3, 4, 5],
+ help='Multi line output (0-grid, 1-vertical, 2-hanging, 3-vert-hanging, 4-vert-grid, '
+ '5-vert-grid-grouped).')
parser.add_argument('-i', '--indent', help='String to place for indents defaults to ' ' (4 spaces).',
dest='indent', type=str)
parser.add_argument('-a', '--add_import', dest='add_imports', action='append',