diff options
author | Timothy Crosley <timothy.crosley@gmail.com> | 2013-10-26 15:06:38 -0400 |
---|---|---|
committer | Timothy Crosley <timothy.crosley@gmail.com> | 2013-10-26 15:06:38 -0400 |
commit | e0baa95665453da18aafb65299bd0ae8f815d37f (patch) | |
tree | 846393588df23311facd67bfa44c425dbf0f7f41 /scripts | |
parent | f51782f0e249c2b019c93dafc8cf3207db7dc475 (diff) | |
download | isort-e0baa95665453da18aafb65299bd0ae8f815d37f.tar.gz |
Keep selection even after sorting, update documentation to note new separate section for relative imports
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/isort | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/isort b/scripts/isort index 916b0cad..686133cd 100755 --- a/scripts/isort +++ b/scripts/isort @@ -26,7 +26,7 @@ parser.add_argument('-p', '--project', dest='known_first_party', action='append' 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).', +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', help='Adds the specified import line to all files, automatically determining correct placement.') |