summaryrefslogtreecommitdiff
path: root/isort/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'isort/main.py')
-rwxr-xr-xisort/main.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/isort/main.py b/isort/main.py
index c1d76619..b831a3ce 100755
--- a/isort/main.py
+++ b/isort/main.py
@@ -213,6 +213,8 @@ def create_parser():
dest='indent', type=str)
parser.add_argument('-j', '--jobs', help='Number of files to process in parallel.',
dest='jobs', type=int)
+ parser.add_argument('-k', '--keep-direct-and-as', dest='keep_direct_and_as_imports', action='store_true',
+ help="Turns off default behavior that removes direct imports when as imports exist.")
parser.add_argument('-l', '--lines', help='[Deprecated] The max length of an import line (used for wrapping '
'long imports).',
dest='line_length', type=int)