summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2013-10-20 16:59:47 -0400
committerTimothy Crosley <timothy.crosley@gmail.com>2013-10-20 16:59:47 -0400
commit245023a913805a6f9f5583c79bec27557e7d7cd2 (patch)
treea442d30aa9c9b67b8ba02621f146589fe079f918 /scripts
parent5404fee2332049f911e2be0127f154b3d79ad618 (diff)
downloadisort-245023a913805a6f9f5583c79bec27557e7d7cd2.tar.gz
Fix issue #50: Add support for vertical grid display mode, improve how enums are defined, and how output modes are processed
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/isort5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/isort b/scripts/isort
index 1fa0c228..59dd811e 100755
--- a/scripts/isort
+++ b/scripts/isort
@@ -22,8 +22,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',